Interface CustomTag.HeaderOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomTag.Header
,CustomTag.Header.Builder
- Enclosing class:
- CustomTag
public static interface CustomTag.HeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
When the header does not exist, the tag value will be populated with this default value if specified, otherwise no tag will be populated.com.google.protobuf.ByteString
getDefaultValueBytes()
When the header does not exist, the tag value will be populated with this default value if specified, otherwise no tag will be populated.java.lang.String
getName()
Header name to obtain the value to populate the tag value.com.google.protobuf.ByteString
getNameBytes()
Header name to obtain the value to populate the tag value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Header name to obtain the value to populate the tag value.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Header name to obtain the value to populate the tag value.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for name.
-
getDefaultValue
java.lang.String getDefaultValue()
When the header does not exist, the tag value will be populated with this default value if specified, otherwise no tag will be populated.
string default_value = 2;
- Returns:
- The defaultValue.
-
getDefaultValueBytes
com.google.protobuf.ByteString getDefaultValueBytes()
When the header does not exist, the tag value will be populated with this default value if specified, otherwise no tag will be populated.
string default_value = 2;
- Returns:
- The bytes for defaultValue.
-
-