public final class CustomTargetType extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
CustomTargetType.Builder
A `CustomTargetType` resource in the Cloud Deploy API.
|
static class |
CustomTargetType.DefinitionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CUSTOM_ACTIONS_FIELD_NUMBER |
static int |
CUSTOM_TARGET_TYPE_ID_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Optional.
|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomTargetSkaffoldActions |
getCustomActions()
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.
|
static CustomTargetType |
getDefaultInstance() |
CustomTargetType |
getDefaultInstanceForType() |
CustomTargetType.DefinitionCase |
getDefinitionCase() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
com.google.protobuf.Parser<CustomTargetType> |
getParserForType() |
int |
getSerializedSize() |
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
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.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static CustomTargetType.Builder |
newBuilder() |
static CustomTargetType.Builder |
newBuilder(CustomTargetType prototype) |
CustomTargetType.Builder |
newBuilderForType() |
protected CustomTargetType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomTargetType |
parseDelimitedFrom(InputStream input) |
static CustomTargetType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTargetType |
parseFrom(byte[] data) |
static CustomTargetType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTargetType |
parseFrom(ByteBuffer data) |
static CustomTargetType |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTargetType |
parseFrom(com.google.protobuf.ByteString data) |
static CustomTargetType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTargetType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomTargetType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomTargetType |
parseFrom(InputStream input) |
static CustomTargetType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomTargetType> |
parser() |
CustomTargetType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CUSTOM_TARGET_TYPE_ID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int CUSTOM_ACTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public CustomTargetType.DefinitionCase getDefinitionCase()
getDefinitionCase in interface CustomTargetTypeOrBuilderpublic 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 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 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 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 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 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 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 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 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CustomTargetType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomTargetType parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTargetType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTargetType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomTargetType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomTargetType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomTargetType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomTargetType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomTargetType.Builder newBuilder()
public static CustomTargetType.Builder newBuilder(CustomTargetType prototype)
public CustomTargetType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomTargetType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomTargetType getDefaultInstance()
public static com.google.protobuf.Parser<CustomTargetType> parser()
public com.google.protobuf.Parser<CustomTargetType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomTargetType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.