Class CustomTargetType.Builder (1.35.0)

public static final class CustomTargetType.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomTargetType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomTargetType.Builder
Overrides

build()

public CustomTargetType build()
Returns
TypeDescription
CustomTargetType

buildPartial()

public CustomTargetType buildPartial()
Returns
TypeDescription
CustomTargetType

clear()

public CustomTargetType.Builder clear()
Returns
TypeDescription
CustomTargetType.Builder
Overrides

clearAnnotations()

public CustomTargetType.Builder clearAnnotations()
Returns
TypeDescription
CustomTargetType.Builder

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];

Returns
TypeDescription
CustomTargetType.Builder

clearCustomActions()

public CustomTargetType.Builder clearCustomActions()

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Returns
TypeDescription
CustomTargetType.Builder

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
TypeDescription
CustomTargetType.Builder

This builder for chaining.

clearDefinition()

public CustomTargetType.Builder clearDefinition()
Returns
TypeDescription
CustomTargetType.Builder

clearDescription()

public CustomTargetType.Builder clearDescription()

Optional. Description of the CustomTargetType. Max length is 255 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CustomTargetType.Builder

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
TypeDescription
CustomTargetType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CustomTargetType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CustomTargetType.Builder
Overrides

clearLabels()

public CustomTargetType.Builder clearLabels()
Returns
TypeDescription
CustomTargetType.Builder

clearName()

public CustomTargetType.Builder clearName()

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomTargetType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CustomTargetType.Builder
Overrides

clearUid()

public CustomTargetType.Builder clearUid()

Output only. Unique identifier of the CustomTargetType.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

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];

Returns
TypeDescription
CustomTargetType.Builder

clone()

public CustomTargetType.Builder clone()
Returns
TypeDescription
CustomTargetType.Builder
Overrides

containsAnnotations(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

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];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCreateTime()

public Timestamp getCreateTime()

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCustomActions()

public CustomTargetSkaffoldActions getCustomActions()

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Returns
TypeDescription
CustomTargetSkaffoldActions

The customActions.

getCustomActionsBuilder()

public CustomTargetSkaffoldActions.Builder getCustomActionsBuilder()

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Returns
TypeDescription
CustomTargetSkaffoldActions.Builder

getCustomActionsOrBuilder()

public CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder()

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Returns
TypeDescription
CustomTargetSkaffoldActionsOrBuilder

getCustomTargetTypeId()

public String getCustomTargetTypeId()

Output only. Resource id of the CustomTargetType.

string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The customTargetTypeId.

getCustomTargetTypeIdBytes()

public ByteString getCustomTargetTypeIdBytes()

Output only. Resource id of the CustomTargetType.

string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for customTargetTypeId.

getDefaultInstanceForType()

public CustomTargetType getDefaultInstanceForType()
Returns
TypeDescription
CustomTargetType

getDefinitionCase()

public CustomTargetType.DefinitionCase getDefinitionCase()
Returns
TypeDescription
CustomTargetType.DefinitionCase

getDescription()

public String getDescription()

Optional. Description of the CustomTargetType. Max length is 255 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the CustomTargetType. Max length is 255 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for name.

getUid()

public String getUid()

Output only. Unique identifier of the CustomTargetType.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. Unique identifier of the CustomTargetType.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public 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];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCustomActions()

public boolean hasCustomActions()

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Returns
TypeDescription
boolean

Whether the customActions field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public CustomTargetType.Builder mergeCreateTime(Timestamp value)

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomTargetType.Builder

mergeCustomActions(CustomTargetSkaffoldActions value)

public CustomTargetType.Builder mergeCustomActions(CustomTargetSkaffoldActions value)

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Parameter
NameDescription
valueCustomTargetSkaffoldActions
Returns
TypeDescription
CustomTargetType.Builder

mergeFrom(CustomTargetType other)

public CustomTargetType.Builder mergeFrom(CustomTargetType other)
Parameter
NameDescription
otherCustomTargetType
Returns
TypeDescription
CustomTargetType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomTargetType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomTargetType.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomTargetType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CustomTargetType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomTargetType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomTargetType.Builder
Overrides

mergeUpdateTime(Timestamp value)

public CustomTargetType.Builder mergeUpdateTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomTargetType.Builder

putAllAnnotations(Map<String,String> values)

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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
CustomTargetType.Builder

putAllLabels(Map<String,String> values)

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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
CustomTargetType.Builder

putAnnotations(String key, String value)

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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
CustomTargetType.Builder

putLabels(String key, String value)

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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
CustomTargetType.Builder

removeAnnotations(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
CustomTargetType.Builder

removeLabels(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
CustomTargetType.Builder

setCreateTime(Timestamp value)

public CustomTargetType.Builder setCreateTime(Timestamp value)

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomTargetType.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CustomTargetType.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time at which the CustomTargetType was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CustomTargetType.Builder

setCustomActions(CustomTargetSkaffoldActions value)

public CustomTargetType.Builder setCustomActions(CustomTargetSkaffoldActions value)

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Parameter
NameDescription
valueCustomTargetSkaffoldActions
Returns
TypeDescription
CustomTargetType.Builder

setCustomActions(CustomTargetSkaffoldActions.Builder builderForValue)

public CustomTargetType.Builder setCustomActions(CustomTargetSkaffoldActions.Builder builderForValue)

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;

Parameter
NameDescription
builderForValueCustomTargetSkaffoldActions.Builder
Returns
TypeDescription
CustomTargetType.Builder

setCustomTargetTypeId(String value)

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];

Parameter
NameDescription
valueString

The customTargetTypeId to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setCustomTargetTypeIdBytes(ByteString value)

public CustomTargetType.Builder setCustomTargetTypeIdBytes(ByteString value)

Output only. Resource id of the CustomTargetType.

string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for customTargetTypeId to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setDescription(String value)

public CustomTargetType.Builder setDescription(String value)

Optional. Description of the CustomTargetType. Max length is 255 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CustomTargetType.Builder setDescriptionBytes(ByteString value)

Optional. Description of the CustomTargetType. Max length is 255 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setEtag(String value)

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];

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public CustomTargetType.Builder setEtagBytes(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];

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CustomTargetType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomTargetType.Builder
Overrides

setName(String value)

public CustomTargetType.Builder setName(String value)

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CustomTargetType.Builder setNameBytes(ByteString value)

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomTargetType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomTargetType.Builder
Overrides

setUid(String value)

public CustomTargetType.Builder setUid(String value)

Output only. Unique identifier of the CustomTargetType.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setUidBytes(ByteString value)

public CustomTargetType.Builder setUidBytes(ByteString value)

Output only. Unique identifier of the CustomTargetType.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
CustomTargetType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomTargetType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomTargetType.Builder
Overrides

setUpdateTime(Timestamp value)

public CustomTargetType.Builder setUpdateTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomTargetType.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public CustomTargetType.Builder setUpdateTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CustomTargetType.Builder