Class Attribute.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Attribute.Builder>
com.google.cloud.apihub.v1.Attribute.Builder
All Implemented Interfaces:
AttributeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Attribute

public static final class Attribute.Builder extends com.google.protobuf.GeneratedMessage.Builder<Attribute.Builder> implements AttributeOrBuilder
 An attribute in the API Hub.
 An attribute is a name value pair which can be attached to different
 resources in the API hub based on the scope of the attribute. Attributes can
 either be pre-defined by the API Hub or created by users.
 
Protobuf type google.cloud.apihub.v1.Attribute
  • 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.Builder<Attribute.Builder>
    • clear

      public Attribute.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Attribute.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Attribute.Builder>
    • getDefaultInstanceForType

      public Attribute getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Attribute build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Attribute buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Attribute.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attribute.Builder>
    • mergeFrom

      public Attribute.Builder mergeFrom(Attribute other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Attribute.Builder>
    • mergeFrom

      public Attribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attribute.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the attribute in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/attributes/{attribute}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface AttributeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the attribute in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/attributes/{attribute}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface AttributeOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Attribute.Builder setName(String value)
       Identifier. The name of the attribute in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/attributes/{attribute}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Attribute.Builder clearName()
       Identifier. The name of the attribute in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/attributes/{attribute}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Attribute.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the attribute in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/attributes/{attribute}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the attribute.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface AttributeOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the attribute.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface AttributeOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Attribute.Builder setDisplayName(String value)
       Required. The display name of the attribute.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Attribute.Builder clearDisplayName()
       Required. The display name of the attribute.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Attribute.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the attribute.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the attribute.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface AttributeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the attribute.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface AttributeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Attribute.Builder setDescription(String value)
       Optional. The description of the attribute.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Attribute.Builder clearDescription()
       Optional. The description of the attribute.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Attribute.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the attribute.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getDefinitionTypeValue

      public int getDefinitionTypeValue()
       Output only. The definition type of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DefinitionType definition_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDefinitionTypeValue in interface AttributeOrBuilder
      Returns:
      The enum numeric value on the wire for definitionType.
    • setDefinitionTypeValue

      public Attribute.Builder setDefinitionTypeValue(int value)
       Output only. The definition type of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DefinitionType definition_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for definitionType to set.
      Returns:
      This builder for chaining.
    • getDefinitionType

      public Attribute.DefinitionType getDefinitionType()
       Output only. The definition type of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DefinitionType definition_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDefinitionType in interface AttributeOrBuilder
      Returns:
      The definitionType.
    • setDefinitionType

      public Attribute.Builder setDefinitionType(Attribute.DefinitionType value)
       Output only. The definition type of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DefinitionType definition_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The definitionType to set.
      Returns:
      This builder for chaining.
    • clearDefinitionType

      public Attribute.Builder clearDefinitionType()
       Output only. The definition type of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DefinitionType definition_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getScopeValue

      public int getScopeValue()
       Required. The scope of the attribute. It represents the resource in the API
       Hub to which the attribute can be linked.
       
      .google.cloud.apihub.v1.Attribute.Scope scope = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeValue in interface AttributeOrBuilder
      Returns:
      The enum numeric value on the wire for scope.
    • setScopeValue

      public Attribute.Builder setScopeValue(int value)
       Required. The scope of the attribute. It represents the resource in the API
       Hub to which the attribute can be linked.
       
      .google.cloud.apihub.v1.Attribute.Scope scope = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for scope to set.
      Returns:
      This builder for chaining.
    • getScope

      public Attribute.Scope getScope()
       Required. The scope of the attribute. It represents the resource in the API
       Hub to which the attribute can be linked.
       
      .google.cloud.apihub.v1.Attribute.Scope scope = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScope in interface AttributeOrBuilder
      Returns:
      The scope.
    • setScope

      public Attribute.Builder setScope(Attribute.Scope value)
       Required. The scope of the attribute. It represents the resource in the API
       Hub to which the attribute can be linked.
       
      .google.cloud.apihub.v1.Attribute.Scope scope = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The scope to set.
      Returns:
      This builder for chaining.
    • clearScope

      public Attribute.Builder clearScope()
       Required. The scope of the attribute. It represents the resource in the API
       Hub to which the attribute can be linked.
       
      .google.cloud.apihub.v1.Attribute.Scope scope = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getDataTypeValue

      public int getDataTypeValue()
       Required. The type of the data of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DataType data_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataTypeValue in interface AttributeOrBuilder
      Returns:
      The enum numeric value on the wire for dataType.
    • setDataTypeValue

      public Attribute.Builder setDataTypeValue(int value)
       Required. The type of the data of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DataType data_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for dataType to set.
      Returns:
      This builder for chaining.
    • getDataType

      public Attribute.DataType getDataType()
       Required. The type of the data of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DataType data_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataType in interface AttributeOrBuilder
      Returns:
      The dataType.
    • setDataType

      public Attribute.Builder setDataType(Attribute.DataType value)
       Required. The type of the data of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DataType data_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dataType to set.
      Returns:
      This builder for chaining.
    • clearDataType

      public Attribute.Builder clearDataType()
       Required. The type of the data of the attribute.
       
      .google.cloud.apihub.v1.Attribute.DataType data_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getAllowedValuesList

      public List<Attribute.AllowedValue> getAllowedValuesList()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedValuesList in interface AttributeOrBuilder
    • getAllowedValuesCount

      public int getAllowedValuesCount()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedValuesCount in interface AttributeOrBuilder
    • getAllowedValues

      public Attribute.AllowedValue getAllowedValues(int index)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedValues in interface AttributeOrBuilder
    • setAllowedValues

      public Attribute.Builder setAllowedValues(int index, Attribute.AllowedValue value)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setAllowedValues

      public Attribute.Builder setAllowedValues(int index, Attribute.AllowedValue.Builder builderForValue)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllowedValues

      public Attribute.Builder addAllowedValues(Attribute.AllowedValue value)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllowedValues

      public Attribute.Builder addAllowedValues(int index, Attribute.AllowedValue value)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllowedValues

      public Attribute.Builder addAllowedValues(Attribute.AllowedValue.Builder builderForValue)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllowedValues

      public Attribute.Builder addAllowedValues(int index, Attribute.AllowedValue.Builder builderForValue)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAllowedValues

      public Attribute.Builder addAllAllowedValues(Iterable<? extends Attribute.AllowedValue> values)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearAllowedValues

      public Attribute.Builder clearAllowedValues()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • removeAllowedValues

      public Attribute.Builder removeAllowedValues(int index)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAllowedValuesBuilder

      public Attribute.AllowedValue.Builder getAllowedValuesBuilder(int index)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAllowedValuesOrBuilder

      public Attribute.AllowedValueOrBuilder getAllowedValuesOrBuilder(int index)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedValuesOrBuilder in interface AttributeOrBuilder
    • getAllowedValuesOrBuilderList

      public List<? extends Attribute.AllowedValueOrBuilder> getAllowedValuesOrBuilderList()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedValuesOrBuilderList in interface AttributeOrBuilder
    • addAllowedValuesBuilder

      public Attribute.AllowedValue.Builder addAllowedValuesBuilder()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllowedValuesBuilder

      public Attribute.AllowedValue.Builder addAllowedValuesBuilder(int index)
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAllowedValuesBuilderList

      public List<Attribute.AllowedValue.Builder> getAllowedValuesBuilderList()
       Optional. The list of allowed values when the attribute value is of type
       enum. This is required when the data_type of the attribute is ENUM. The
       maximum number of allowed values of an attribute will be 1000.
       
      repeated .google.cloud.apihub.v1.Attribute.AllowedValue allowed_values = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getCardinality

      public int getCardinality()
       Optional. The maximum number of values that the attribute can have when
       associated with an API Hub resource. Cardinality 1 would represent a
       single-valued attribute. It must not be less than 1 or greater than 20. If
       not specified, the cardinality would be set to 1 by default and represent a
       single-valued attribute.
       
      int32 cardinality = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCardinality in interface AttributeOrBuilder
      Returns:
      The cardinality.
    • setCardinality

      public Attribute.Builder setCardinality(int value)
       Optional. The maximum number of values that the attribute can have when
       associated with an API Hub resource. Cardinality 1 would represent a
       single-valued attribute. It must not be less than 1 or greater than 20. If
       not specified, the cardinality would be set to 1 by default and represent a
       single-valued attribute.
       
      int32 cardinality = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The cardinality to set.
      Returns:
      This builder for chaining.
    • clearCardinality

      public Attribute.Builder clearCardinality()
       Optional. The maximum number of values that the attribute can have when
       associated with an API Hub resource. Cardinality 1 would represent a
       single-valued attribute. It must not be less than 1 or greater than 20. If
       not specified, the cardinality would be set to 1 by default and represent a
       single-valued attribute.
       
      int32 cardinality = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMandatory

      public boolean getMandatory()
       Output only. When mandatory is true, the attribute is mandatory for the
       resource specified in the scope. Only System defined attributes can be
       mandatory.
       
      bool mandatory = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMandatory in interface AttributeOrBuilder
      Returns:
      The mandatory.
    • setMandatory

      public Attribute.Builder setMandatory(boolean value)
       Output only. When mandatory is true, the attribute is mandatory for the
       resource specified in the scope. Only System defined attributes can be
       mandatory.
       
      bool mandatory = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The mandatory to set.
      Returns:
      This builder for chaining.
    • clearMandatory

      public Attribute.Builder clearMandatory()
       Output only. When mandatory is true, the attribute is mandatory for the
       resource specified in the scope. Only System defined attributes can be
       mandatory.
       
      bool mandatory = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AttributeOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface AttributeOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Attribute.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Attribute.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Attribute.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Attribute.Builder clearCreateTime()
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the attribute was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface AttributeOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface AttributeOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface AttributeOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Attribute.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Attribute.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Attribute.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Attribute.Builder clearUpdateTime()
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the attribute was last updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface AttributeOrBuilder