Package com.buildless.telemetry
Interface HttpMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpMetadata,HttpMetadata.Builder
public interface HttpMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Specifies the key (name) for this header.com.google.protobuf.ByteStringSpecifies the key (name) for this header.getValue(int index) Specifies the set of values for this header.com.google.protobuf.ByteStringgetValueBytes(int index) Specifies the set of values for this header.intSpecifies the set of values for this header.Specifies the set of values for this header.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
String getKey()Specifies the key (name) for this header.
string key = 1 [json_name = "key"];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Specifies the key (name) for this header.
string key = 1 [json_name = "key"];- Returns:
- The bytes for key.
-
getValueList
Specifies the set of values for this header.
repeated string value = 2 [json_name = "value"];- Returns:
- A list containing the value.
-
getValueCount
int getValueCount()Specifies the set of values for this header.
repeated string value = 2 [json_name = "value"];- Returns:
- The count of value.
-
getValue
Specifies the set of values for this header.
repeated string value = 2 [json_name = "value"];- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes(int index) Specifies the set of values for this header.
repeated string value = 2 [json_name = "value"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-