public static final class CustomTargetType.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
CustomTargetType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomTargetType |
build() |
CustomTargetType |
buildPartial() |
CustomTargetType.Builder |
clear() |
CustomTargetType.Builder |
clearAnnotations() |
CustomTargetType.Builder |
clearCreateTime()
Output only.
|
CustomTargetType.Builder |
clearCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetType.Builder |
clearCustomTargetTypeId()
Output only.
|
CustomTargetType.Builder |
clearDefinition() |
CustomTargetType.Builder |
clearDescription()
Optional.
|
CustomTargetType.Builder |
clearEtag()
Optional.
|
CustomTargetType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomTargetType.Builder |
clearLabels() |
CustomTargetType.Builder |
clearName()
Optional.
|
CustomTargetType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomTargetType.Builder |
clearUid()
Output only.
|
CustomTargetType.Builder |
clearUpdateTime()
Output only.
|
CustomTargetType.Builder |
clone() |
boolean |
containsAnnotations(String key)
Optional.
|
boolean |
containsLabels(String key)
Optional.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Optional.
|
Map<String,String> |
getAnnotationsMap()
Optional.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getAnnotationsOrThrow(String key)
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomTargetSkaffoldActions |
getCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetSkaffoldActions.Builder |
getCustomActionsBuilder()
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetSkaffoldActionsOrBuilder |
getCustomActionsOrBuilder()
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
String |
getCustomTargetTypeId()
Output only.
|
com.google.protobuf.ByteString |
getCustomTargetTypeIdBytes()
Output only.
|
CustomTargetType |
getDefaultInstanceForType() |
CustomTargetType.DefinitionCase |
getDefinitionCase() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
CustomTargetType.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomTargetType.Builder |
mergeCustomActions(CustomTargetSkaffoldActions value)
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomTargetType.Builder |
mergeFrom(CustomTargetType other) |
CustomTargetType.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomTargetType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomTargetType.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomTargetType.Builder |
putAllAnnotations(Map<String,String> values)
Optional.
|
CustomTargetType.Builder |
putAllLabels(Map<String,String> values)
Optional.
|
CustomTargetType.Builder |
putAnnotations(String key,
String value)
Optional.
|
CustomTargetType.Builder |
putLabels(String key,
String value)
Optional.
|
CustomTargetType.Builder |
removeAnnotations(String key)
Optional.
|
CustomTargetType.Builder |
removeLabels(String key)
Optional.
|
CustomTargetType.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomTargetType.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomTargetType.Builder |
setCustomActions(CustomTargetSkaffoldActions.Builder builderForValue)
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetType.Builder |
setCustomActions(CustomTargetSkaffoldActions value)
Configures render and deploy for the `CustomTargetType` using Skaffold
custom actions.
|
CustomTargetType.Builder |
setCustomTargetTypeId(String value)
Output only.
|
CustomTargetType.Builder |
setCustomTargetTypeIdBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomTargetType.Builder |
setDescription(String value)
Optional.
|
CustomTargetType.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
CustomTargetType.Builder |
setEtag(String value)
Optional.
|
CustomTargetType.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
CustomTargetType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomTargetType.Builder |
setName(String value)
Optional.
|
CustomTargetType.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Optional.
|
CustomTargetType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomTargetType.Builder |
setUid(String value)
Output only.
|
CustomTargetType.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomTargetType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomTargetType.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomTargetType.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomTargetType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomTargetType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomTargetType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomTargetType.Builder>public CustomTargetType.Builder mergeFrom(CustomTargetType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public CustomTargetType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomTargetType.Builder>IOExceptionpublic CustomTargetType.DefinitionCase getDefinitionCase()
getDefinitionCase in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder clearDefinition()
public String getName()
Optional. Name of the `CustomTargetType`. Format is
`projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getName in interface CustomTargetTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `CustomTargetType`. Format is
`projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];getNameBytes in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder setName(String value)
Optional. Name of the `CustomTargetType`. Format is
`projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The name to set.public CustomTargetType.Builder clearName()
Optional. Name of the `CustomTargetType`. Format is
`projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];public CustomTargetType.Builder setNameBytes(com.google.protobuf.ByteString value)
Optional. Name of the `CustomTargetType`. Format is
`projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for name to set.public String getCustomTargetTypeId()
Output only. Resource id of the `CustomTargetType`.
string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getCustomTargetTypeId in interface CustomTargetTypeOrBuilderpublic com.google.protobuf.ByteString getCustomTargetTypeIdBytes()
Output only. Resource id of the `CustomTargetType`.
string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getCustomTargetTypeIdBytes in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder setCustomTargetTypeId(String value)
Output only. Resource id of the `CustomTargetType`.
string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The customTargetTypeId to set.public CustomTargetType.Builder clearCustomTargetTypeId()
Output only. Resource id of the `CustomTargetType`.
string custom_target_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];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];value - The bytes for customTargetTypeId to set.public String getUid()
Output only. Unique identifier of the `CustomTargetType`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface CustomTargetTypeOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `CustomTargetType`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder setUid(String value)
Output only. Unique identifier of the `CustomTargetType`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public CustomTargetType.Builder clearUid()
Output only. Unique identifier of the `CustomTargetType`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];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];value - The bytes for uid to set.public String getDescription()
Optional. Description of the `CustomTargetType`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface CustomTargetTypeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the `CustomTargetType`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder setDescription(String value)
Optional. Description of the `CustomTargetType`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public CustomTargetType.Builder clearDescription()
Optional. Description of the `CustomTargetType`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];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];value - The bytes for description to set.public int getAnnotationsCount()
CustomTargetTypeOrBuilderOptional. 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];
getAnnotationsCount in interface CustomTargetTypeOrBuilderpublic 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];
containsAnnotations in interface CustomTargetTypeOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface CustomTargetTypeOrBuilderpublic 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];
getAnnotationsMap in interface CustomTargetTypeOrBuilderpublic 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];
getAnnotationsOrDefault in interface CustomTargetTypeOrBuilderpublic 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];
getAnnotationsOrThrow in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder clearAnnotations()
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];
@Deprecated public Map<String,String> getMutableAnnotations()
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];
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];
public int getLabelsCount()
CustomTargetTypeOrBuilderOptional. 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];getLabelsCount in interface CustomTargetTypeOrBuilderpublic 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];containsLabels in interface CustomTargetTypeOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface CustomTargetTypeOrBuilderpublic 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];getLabelsMap in interface CustomTargetTypeOrBuilderpublic 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];getLabelsOrDefault in interface CustomTargetTypeOrBuilderpublic 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];getLabelsOrThrow in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder clearLabels()
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];@Deprecated public Map<String,String> getMutableLabels()
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];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];public boolean hasCreateTime()
Output only. Time at which the `CustomTargetType` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CustomTargetTypeOrBuilderpublic 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];
getCreateTime in interface CustomTargetTypeOrBuilderpublic 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];
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];
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];
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];
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];
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];
getCreateTimeOrBuilder in interface CustomTargetTypeOrBuilderpublic 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];
hasUpdateTime in interface CustomTargetTypeOrBuilderpublic 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];
getUpdateTime in interface CustomTargetTypeOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface CustomTargetTypeOrBuilderpublic 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];getEtag in interface CustomTargetTypeOrBuilderpublic 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];getEtagBytes in interface CustomTargetTypeOrBuilderpublic 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];value - The etag to set.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];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];value - The bytes for etag to set.public boolean hasCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;hasCustomActions in interface CustomTargetTypeOrBuilderpublic CustomTargetSkaffoldActions getCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;getCustomActions in interface CustomTargetTypeOrBuilderpublic CustomTargetType.Builder setCustomActions(CustomTargetSkaffoldActions value)
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;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;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;public CustomTargetType.Builder clearCustomActions()
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;public CustomTargetSkaffoldActions.Builder getCustomActionsBuilder()
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;public CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder()
Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
.google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10;getCustomActionsOrBuilder in interface CustomTargetTypeOrBuilderpublic final CustomTargetType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>public final CustomTargetType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomTargetType.Builder>Copyright © 2024 Google LLC. All rights reserved.