Interface HealthCheck.PayloadOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HealthCheck.Payload
,HealthCheck.Payload.Builder
- Enclosing class:
- HealthCheck
public static interface HealthCheck.PayloadOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getBinary()
Binary payload.HealthCheck.Payload.PayloadCase
getPayloadCase()
java.lang.String
getText()
Hex encoded payload.com.google.protobuf.ByteString
getTextBytes()
Hex encoded payload.boolean
hasBinary()
Binary payload.boolean
hasText()
Hex encoded payload.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
Hex encoded payload. E.g., "000000FF".
string text = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the text field is set.
-
getText
java.lang.String getText()
Hex encoded payload. E.g., "000000FF".
string text = 1 [(.validate.rules) = { ... }
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
Hex encoded payload. E.g., "000000FF".
string text = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for text.
-
hasBinary
boolean hasBinary()
Binary payload.
bytes binary = 2;
- Returns:
- Whether the binary field is set.
-
getBinary
com.google.protobuf.ByteString getBinary()
Binary payload.
bytes binary = 2;
- Returns:
- The binary.
-
getPayloadCase
HealthCheck.Payload.PayloadCase getPayloadCase()
-
-