Interface MetadataKey.PathSegmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetadataKey.PathSegment, MetadataKey.PathSegment.Builder
Enclosing class:
MetadataKey

public static interface MetadataKey.PathSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If specified, use the key to retrieve the value in a Struct.
    com.google.protobuf.ByteString
    If specified, use the key to retrieve the value in a Struct.
     
    boolean
    If specified, use the key to retrieve the value in a Struct.

    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

    • hasKey

      boolean hasKey()
       If specified, use the key to retrieve the value in a Struct.
       
      string key = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the key field is set.
    • getKey

      String getKey()
       If specified, use the key to retrieve the value in a Struct.
       
      string key = 1 [(.validate.rules) = { ... }
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       If specified, use the key to retrieve the value in a Struct.
       
      string key = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for key.
    • getSegmentCase