Class AttributeValues

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.AttributeValues
All Implemented Interfaces:
AttributeValuesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AttributeValues extends com.google.protobuf.GeneratedMessage implements AttributeValuesOrBuilder
 The attribute values associated with resource.
 
Protobuf type google.cloud.apihub.v1.AttributeValues
See Also:
  • Field Details

    • ENUM_VALUES_FIELD_NUMBER

      public static final int ENUM_VALUES_FIELD_NUMBER
      See Also:
    • STRING_VALUES_FIELD_NUMBER

      public static final int STRING_VALUES_FIELD_NUMBER
      See Also:
    • JSON_VALUES_FIELD_NUMBER

      public static final int JSON_VALUES_FIELD_NUMBER
      See Also:
    • URI_VALUES_FIELD_NUMBER

      public static final int URI_VALUES_FIELD_NUMBER
      See Also:
    • ATTRIBUTE_FIELD_NUMBER

      public static final int ATTRIBUTE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getValueCase

      public AttributeValues.ValueCase getValueCase()
      Specified by:
      getValueCase in interface AttributeValuesOrBuilder
    • hasEnumValues

      public boolean hasEnumValues()
       The attribute values associated with a resource in case attribute data
       type is enum.
       
      .google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;
      Specified by:
      hasEnumValues in interface AttributeValuesOrBuilder
      Returns:
      Whether the enumValues field is set.
    • getEnumValues

      public AttributeValues.EnumAttributeValues getEnumValues()
       The attribute values associated with a resource in case attribute data
       type is enum.
       
      .google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;
      Specified by:
      getEnumValues in interface AttributeValuesOrBuilder
      Returns:
      The enumValues.
    • getEnumValuesOrBuilder

      public AttributeValues.EnumAttributeValuesOrBuilder getEnumValuesOrBuilder()
       The attribute values associated with a resource in case attribute data
       type is enum.
       
      .google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;
      Specified by:
      getEnumValuesOrBuilder in interface AttributeValuesOrBuilder
    • hasStringValues

      public boolean hasStringValues()
       The attribute values associated with a resource in case attribute data
       type is string.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;
      Specified by:
      hasStringValues in interface AttributeValuesOrBuilder
      Returns:
      Whether the stringValues field is set.
    • getStringValues

      public AttributeValues.StringAttributeValues getStringValues()
       The attribute values associated with a resource in case attribute data
       type is string.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;
      Specified by:
      getStringValues in interface AttributeValuesOrBuilder
      Returns:
      The stringValues.
    • getStringValuesOrBuilder

      public AttributeValues.StringAttributeValuesOrBuilder getStringValuesOrBuilder()
       The attribute values associated with a resource in case attribute data
       type is string.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;
      Specified by:
      getStringValuesOrBuilder in interface AttributeValuesOrBuilder
    • hasJsonValues

      public boolean hasJsonValues()
       The attribute values associated with a resource in case attribute data
       type is JSON.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;
      Specified by:
      hasJsonValues in interface AttributeValuesOrBuilder
      Returns:
      Whether the jsonValues field is set.
    • getJsonValues

      public AttributeValues.StringAttributeValues getJsonValues()
       The attribute values associated with a resource in case attribute data
       type is JSON.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;
      Specified by:
      getJsonValues in interface AttributeValuesOrBuilder
      Returns:
      The jsonValues.
    • getJsonValuesOrBuilder

      public AttributeValues.StringAttributeValuesOrBuilder getJsonValuesOrBuilder()
       The attribute values associated with a resource in case attribute data
       type is JSON.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;
      Specified by:
      getJsonValuesOrBuilder in interface AttributeValuesOrBuilder
    • hasUriValues

      public boolean hasUriValues()
       The attribute values associated with a resource in case attribute data
       type is URL, URI or IP, like gs://bucket-name/object-name.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;
      Specified by:
      hasUriValues in interface AttributeValuesOrBuilder
      Returns:
      Whether the uriValues field is set.
    • getUriValues

       The attribute values associated with a resource in case attribute data
       type is URL, URI or IP, like gs://bucket-name/object-name.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;
      Specified by:
      getUriValues in interface AttributeValuesOrBuilder
      Returns:
      The uriValues.
    • getUriValuesOrBuilder

      public AttributeValues.StringAttributeValuesOrBuilder getUriValuesOrBuilder()
       The attribute values associated with a resource in case attribute data
       type is URL, URI or IP, like gs://bucket-name/object-name.
       
      .google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;
      Specified by:
      getUriValuesOrBuilder in interface AttributeValuesOrBuilder
    • getAttribute

      public String getAttribute()
       Output only. The name of the attribute.
       Format: projects/{project}/locations/{location}/attributes/{attribute}
       
      string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttribute in interface AttributeValuesOrBuilder
      Returns:
      The attribute.
    • getAttributeBytes

      public com.google.protobuf.ByteString getAttributeBytes()
       Output only. The name of the attribute.
       Format: projects/{project}/locations/{location}/attributes/{attribute}
       
      string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttributeBytes in interface AttributeValuesOrBuilder
      Returns:
      The bytes for attribute.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AttributeValues parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AttributeValues parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AttributeValues parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AttributeValues parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AttributeValues parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AttributeValues parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AttributeValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AttributeValues.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AttributeValues.Builder newBuilder()
    • newBuilder

      public static AttributeValues.Builder newBuilder(AttributeValues prototype)
    • toBuilder

      public AttributeValues.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AttributeValues.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AttributeValues getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AttributeValues> parser()
    • getParserForType

      public com.google.protobuf.Parser<AttributeValues> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AttributeValues getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder