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
Modifier and TypeMethodDescriptionWhen 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
When the header does not exist, the tag value will be populated with this default value if specified, otherwise no tag will be populated.getName()
Header name to obtain the value to populate the tag value.com.google.protobuf.ByteString
Header name to obtain the value to populate the tag value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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
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.
-