Interface AspectType.MetadataTemplate.EnumValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AspectType.MetadataTemplate.EnumValue, AspectType.MetadataTemplate.EnumValue.Builder
Enclosing class:
AspectType.MetadataTemplate

public static interface AspectType.MetadataTemplate.EnumValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getIndex

      int getIndex()
       Required. Index for the enum value. It can't be modified.
       
      int32 index = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The index.
    • getName

      String getName()
       Required. Name of the enumvalue. This is the actual value that the
       aspect can contain.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Name of the enumvalue. This is the actual value that the
       aspect can contain.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getDeprecated

      String getDeprecated()
       Optional. You can set this message if you need to deprecate an enum
       value.
       
      string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deprecated.
    • getDeprecatedBytes

      com.google.protobuf.ByteString getDeprecatedBytes()
       Optional. You can set this message if you need to deprecate an enum
       value.
       
      string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for deprecated.