Interface MetadataKey.PathSegmentOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      If specified, use the key to retrieve the value in a Struct.
      com.google.protobuf.ByteString getKeyBytes()
      If specified, use the key to retrieve the value in a Struct.
      MetadataKey.PathSegment.SegmentCase getSegmentCase()  
      boolean hasKey()
      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 Detail

      • 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

        java.lang.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.