- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomTargetType.BuilderImplements
CustomTargetTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomTargetType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
build()
public CustomTargetType build()
Returns | |
---|---|
Type | Description |
CustomTargetType |
buildPartial()
public CustomTargetType buildPartial()
Returns | |
---|---|
Type | Description |
CustomTargetType |
clear()
public CustomTargetType.Builder clear()
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
clearAnnotations()
public CustomTargetType.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CustomTargetType.Builder | This builder for chaining. |
clearDefinition()
public CustomTargetType.Builder clearDefinition()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CustomTargetType.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CustomTargetType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
clearLabels()
public CustomTargetType.Builder clearLabels()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CustomTargetType.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomTargetType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
clearUid()
public CustomTargetType.Builder clearUid()
Output only. Unique identifier of the CustomTargetType
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CustomTargetType.Builder |
clone()
public CustomTargetType.Builder clone()
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for customTargetTypeId. |
getDefaultInstanceForType()
public CustomTargetType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomTargetType |
getDefinitionCase()
public CustomTargetType.DefinitionCase getDefinitionCase()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Unique identifier of the CustomTargetType
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | CustomTargetSkaffoldActions |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
mergeFrom(CustomTargetType other)
public CustomTargetType.Builder mergeFrom(CustomTargetType other)
Parameter | |
---|---|
Name | Description |
other | CustomTargetType |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomTargetType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CustomTargetType.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomTargetType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | CustomTargetSkaffoldActions |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | CustomTargetSkaffoldActions.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The customTargetTypeId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for customTargetTypeId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomTargetType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
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 | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
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 | |
---|---|
Name | Description |
value | String The uid to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomTargetType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
CustomTargetType.Builder |