Class CustomTargetType.Builder

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

public static final class CustomTargetType.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomTargetType.Builder> implements CustomTargetTypeOrBuilder
 A `CustomTargetType` resource in the Cloud Deploy API.

 A `CustomTargetType` defines a type of custom target that can be referenced
 in a `Target` in order to facilitate deploying to other systems besides the
 supported runtimes.
 
Protobuf type google.cloud.deploy.v1.CustomTargetType
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetType.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetType.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetType.Builder>
    • clear

      public CustomTargetType.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<CustomTargetType.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<CustomTargetType.Builder>
    • getDefaultInstanceForType

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

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

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

      public CustomTargetType.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<CustomTargetType.Builder>
    • mergeFrom

      public CustomTargetType.Builder mergeFrom(CustomTargetType other)
    • isInitialized

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

      public CustomTargetType.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<CustomTargetType.Builder>
      Throws:
      IOException
    • getDefinitionCase

      public CustomTargetType.DefinitionCase getDefinitionCase()
      Specified by:
      getDefinitionCase in interface CustomTargetTypeOrBuilder
    • clearDefinition

      public CustomTargetType.Builder clearDefinition()
    • getName

      public String getName()
       Identifier. Name of the `CustomTargetType`. Format is
       `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
       The `customTargetType` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface CustomTargetTypeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `CustomTargetType`. Format is
       `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
       The `customTargetType` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface CustomTargetTypeOrBuilder
      Returns:
      The bytes for name.
    • setName

      public CustomTargetType.Builder setName(String value)
       Identifier. Name of the `CustomTargetType`. Format is
       `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
       The `customTargetType` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public CustomTargetType.Builder clearName()
       Identifier. Name of the `CustomTargetType`. Format is
       `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
       The `customTargetType` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public CustomTargetType.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the `CustomTargetType`. Format is
       `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
       The `customTargetType` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getCustomTargetTypeId

      public String getCustomTargetTypeId()
       Output only. Resource id of the `CustomTargetType`.
       
      string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTargetTypeId in interface CustomTargetTypeOrBuilder
      Returns:
      The customTargetTypeId.
    • getCustomTargetTypeIdBytes

      public com.google.protobuf.ByteString getCustomTargetTypeIdBytes()
       Output only. Resource id of the `CustomTargetType`.
       
      string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTargetTypeIdBytes in interface CustomTargetTypeOrBuilder
      Returns:
      The bytes for customTargetTypeId.
    • setCustomTargetTypeId

      public CustomTargetType.Builder setCustomTargetTypeId(String value)
       Output only. Resource id of the `CustomTargetType`.
       
      string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customTargetTypeId to set.
      Returns:
      This builder for chaining.
    • clearCustomTargetTypeId

      public CustomTargetType.Builder clearCustomTargetTypeId()
       Output only. Resource id of the `CustomTargetType`.
       
      string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomTargetTypeIdBytes

      public CustomTargetType.Builder setCustomTargetTypeIdBytes(com.google.protobuf.ByteString value)
       Output only. Resource id of the `CustomTargetType`.
       
      string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customTargetTypeId to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. Unique identifier of the `CustomTargetType`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface CustomTargetTypeOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. Unique identifier of the `CustomTargetType`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface CustomTargetTypeOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public CustomTargetType.Builder setUid(String value)
       Output only. Unique identifier of the `CustomTargetType`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public CustomTargetType.Builder clearUid()
       Output only. Unique identifier of the `CustomTargetType`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public CustomTargetType.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. Unique identifier of the `CustomTargetType`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the `CustomTargetType`. Max length is 255
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface CustomTargetTypeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the `CustomTargetType`. Max length is 255
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface CustomTargetTypeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public CustomTargetType.Builder setDescription(String value)
       Optional. Description of the `CustomTargetType`. Max length is 255
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public CustomTargetType.Builder clearDescription()
       Optional. Description of the `CustomTargetType`. Max length is 255
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public CustomTargetType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the `CustomTargetType`. Max length is 255
       characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: CustomTargetTypeOrBuilder
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface CustomTargetTypeOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface CustomTargetTypeOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface CustomTargetTypeOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface CustomTargetTypeOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface CustomTargetTypeOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface CustomTargetTypeOrBuilder
    • clearAnnotations

      public CustomTargetType.Builder clearAnnotations()
    • removeAnnotations

      public CustomTargetType.Builder removeAnnotations(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public CustomTargetType.Builder putAnnotations(String key, String value)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public CustomTargetType.Builder putAllAnnotations(Map<String,String> values)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: CustomTargetTypeOrBuilder
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface CustomTargetTypeOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface CustomTargetTypeOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface CustomTargetTypeOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface CustomTargetTypeOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface CustomTargetTypeOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface CustomTargetTypeOrBuilder
    • clearLabels

      public CustomTargetType.Builder clearLabels()
    • removeLabels

      public CustomTargetType.Builder removeLabels(String key)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public CustomTargetType.Builder putLabels(String key, String value)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public CustomTargetType.Builder putAllLabels(Map<String,String> values)
       Optional. Labels are attributes that can be set and used by both the
       user and by Cloud Deploy. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface CustomTargetTypeOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface CustomTargetTypeOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public CustomTargetType.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public CustomTargetType.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public CustomTargetType.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public CustomTargetType.Builder clearCreateTime()
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time at which the `CustomTargetType` was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface CustomTargetTypeOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface CustomTargetTypeOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface CustomTargetTypeOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public CustomTargetType.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public CustomTargetType.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public CustomTargetType.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public CustomTargetType.Builder clearUpdateTime()
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Most recent time at which the `CustomTargetType` was updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface CustomTargetTypeOrBuilder
    • getEtag

      public String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface CustomTargetTypeOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface CustomTargetTypeOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public CustomTargetType.Builder setEtag(String value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public CustomTargetType.Builder clearEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public CustomTargetType.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasCustomActions

      public boolean hasCustomActions()
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCustomActions in interface CustomTargetTypeOrBuilder
      Returns:
      Whether the customActions field is set.
    • getCustomActions

      public CustomTargetSkaffoldActions getCustomActions()
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomActions in interface CustomTargetTypeOrBuilder
      Returns:
      The customActions.
    • setCustomActions

      public CustomTargetType.Builder setCustomActions(CustomTargetSkaffoldActions value)
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setCustomActions

      public CustomTargetType.Builder setCustomActions(CustomTargetSkaffoldActions.Builder builderForValue)
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCustomActions

      public CustomTargetType.Builder mergeCustomActions(CustomTargetSkaffoldActions value)
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearCustomActions

      public CustomTargetType.Builder clearCustomActions()
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomActionsBuilder

      public CustomTargetSkaffoldActions.Builder getCustomActionsBuilder()
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomActionsOrBuilder

      public CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder()
       Optional. Configures render and deploy for the `CustomTargetType` using
       Skaffold custom actions.
       
      .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomActionsOrBuilder in interface CustomTargetTypeOrBuilder