Package com.google.cloud.deploy.v1
Class Target
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.Target
- All Implemented Interfaces:
TargetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Target
extends com.google.protobuf.GeneratedMessage
implements TargetOrBuilder
A `Target` resource in the Cloud Deploy API. A `Target` defines a location to which a Skaffold configuration can be deployed.Protobuf type
google.cloud.deploy.v1.Target- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA `Target` resource in the Cloud Deploy API.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.booleanOptional.booleancontainsLabels(String key) Optional.booleanDeprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Optional.Optional.Deprecated.intOptional.Optional.getAssociatedEntitiesOrDefault(String key, AssociatedEntities defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.static TargetDeprecated.intOptional.Optional.getDeployParametersOrDefault(String key, String defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorgetEtag()Optional.com.google.protobuf.ByteStringOptional.getExecutionConfigs(int index) Optional.intOptional.Optional.getExecutionConfigsOrBuilder(int index) Optional.List<? extends ExecutionConfigOrBuilder>Optional.getGke()Optional.Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional.Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Target>booleanOptional.getRun()Optional.Optional.intOutput only.com.google.protobuf.ByteStringOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanOutput only.booleanOptional.booleanhasGke()Optional.inthashCode()booleanOptional.booleanhasRun()Optional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Target.Builderstatic Target.BuildernewBuilder(Target prototype) protected Target.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TargetparseDelimitedFrom(InputStream input) static TargetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetparseFrom(byte[] data) static TargetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetparseFrom(com.google.protobuf.ByteString data) static TargetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetparseFrom(com.google.protobuf.CodedInputStream input) static TargetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetparseFrom(InputStream input) static TargetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetparseFrom(ByteBuffer data) static TargetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Target>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
REQUIRE_APPROVAL_FIELD_NUMBER
public static final int REQUIRE_APPROVAL_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
GKE_FIELD_NUMBER
public static final int GKE_FIELD_NUMBER- See Also:
-
ANTHOS_CLUSTER_FIELD_NUMBER
public static final int ANTHOS_CLUSTER_FIELD_NUMBER- See Also:
-
RUN_FIELD_NUMBER
public static final int RUN_FIELD_NUMBER- See Also:
-
MULTI_TARGET_FIELD_NUMBER
public static final int MULTI_TARGET_FIELD_NUMBER- See Also:
-
CUSTOM_TARGET_FIELD_NUMBER
public static final int CUSTOM_TARGET_FIELD_NUMBER- See Also:
-
ASSOCIATED_ENTITIES_FIELD_NUMBER
public static final int ASSOCIATED_ENTITIES_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
EXECUTION_CONFIGS_FIELD_NUMBER
public static final int EXECUTION_CONFIGS_FIELD_NUMBER- See Also:
-
DEPLOY_PARAMETERS_FIELD_NUMBER
public static final int DEPLOY_PARAMETERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDeploymentTargetCase
- Specified by:
getDeploymentTargetCasein interfaceTargetOrBuilder
-
getName
Identifier. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceTargetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceTargetOrBuilder- Returns:
- The bytes for name.
-
getTargetId
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdin interfaceTargetOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdBytesin interfaceTargetOrBuilder- Returns:
- The bytes for targetId.
-
getUid
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceTargetOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceTargetOrBuilder- Returns:
- The bytes for uid.
-
getDescription
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTargetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceTargetOrBuilder- Returns:
- The bytes for description.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:TargetOrBuilderOptional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceTargetOrBuilder
-
containsAnnotations
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceTargetOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceTargetOrBuilder
-
getAnnotationsMap
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceTargetOrBuilder
-
getAnnotationsOrDefault
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceTargetOrBuilder
-
getAnnotationsOrThrow
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceTargetOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:TargetOrBuilderOptional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceTargetOrBuilder
-
containsLabels
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceTargetOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTargetOrBuilder
-
getLabelsMap
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceTargetOrBuilder
-
getLabelsOrDefault
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceTargetOrBuilder
-
getLabelsOrThrow
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceTargetOrBuilder
-
getRequireApproval
public boolean getRequireApproval()Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequireApprovalin interfaceTargetOrBuilder- Returns:
- The requireApproval.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceTargetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceTargetOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceTargetOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTargetOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTargetOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTargetOrBuilder
-
hasGke
public boolean hasGke()Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGkein interfaceTargetOrBuilder- Returns:
- Whether the gke field is set.
-
getGke
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGkein interfaceTargetOrBuilder- Returns:
- The gke.
-
getGkeOrBuilder
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGkeOrBuilderin interfaceTargetOrBuilder
-
hasAnthosCluster
public boolean hasAnthosCluster()Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAnthosClusterin interfaceTargetOrBuilder- Returns:
- Whether the anthosCluster field is set.
-
getAnthosCluster
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnthosClusterin interfaceTargetOrBuilder- Returns:
- The anthosCluster.
-
getAnthosClusterOrBuilder
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnthosClusterOrBuilderin interfaceTargetOrBuilder
-
hasRun
public boolean hasRun()Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRunin interfaceTargetOrBuilder- Returns:
- Whether the run field is set.
-
getRun
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunin interfaceTargetOrBuilder- Returns:
- The run.
-
getRunOrBuilder
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunOrBuilderin interfaceTargetOrBuilder
-
hasMultiTarget
public boolean hasMultiTarget()Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMultiTargetin interfaceTargetOrBuilder- Returns:
- Whether the multiTarget field is set.
-
getMultiTarget
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMultiTargetin interfaceTargetOrBuilder- Returns:
- The multiTarget.
-
getMultiTargetOrBuilder
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMultiTargetOrBuilderin interfaceTargetOrBuilder
-
hasCustomTarget
public boolean hasCustomTarget()Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCustomTargetin interfaceTargetOrBuilder- Returns:
- Whether the customTarget field is set.
-
getCustomTarget
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomTargetin interfaceTargetOrBuilder- Returns:
- The customTarget.
-
getCustomTargetOrBuilder
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomTargetOrBuilderin interfaceTargetOrBuilder
-
getAssociatedEntitiesCount
public int getAssociatedEntitiesCount()Description copied from interface:TargetOrBuilderOptional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAssociatedEntitiesCountin interfaceTargetOrBuilder
-
containsAssociatedEntities
Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAssociatedEntitiesin interfaceTargetOrBuilder
-
getAssociatedEntities
Deprecated.UsegetAssociatedEntitiesMap()instead.- Specified by:
getAssociatedEntitiesin interfaceTargetOrBuilder
-
getAssociatedEntitiesMap
Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAssociatedEntitiesMapin interfaceTargetOrBuilder
-
getAssociatedEntitiesOrDefault
public AssociatedEntities getAssociatedEntitiesOrDefault(String key, AssociatedEntities defaultValue) Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAssociatedEntitiesOrDefaultin interfaceTargetOrBuilder
-
getAssociatedEntitiesOrThrow
Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAssociatedEntitiesOrThrowin interfaceTargetOrBuilder
-
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 = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceTargetOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceTargetOrBuilder- Returns:
- The bytes for etag.
-
getExecutionConfigsList
Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionConfigsListin interfaceTargetOrBuilder
-
getExecutionConfigsOrBuilderList
Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionConfigsOrBuilderListin interfaceTargetOrBuilder
-
getExecutionConfigsCount
public int getExecutionConfigsCount()Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionConfigsCountin interfaceTargetOrBuilder
-
getExecutionConfigs
Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionConfigsin interfaceTargetOrBuilder
-
getExecutionConfigsOrBuilder
Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionConfigsOrBuilderin interfaceTargetOrBuilder
-
getDeployParametersCount
public int getDeployParametersCount()Description copied from interface:TargetOrBuilderOptional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersCountin interfaceTargetOrBuilder
-
containsDeployParameters
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsDeployParametersin interfaceTargetOrBuilder
-
getDeployParameters
Deprecated.UsegetDeployParametersMap()instead.- Specified by:
getDeployParametersin interfaceTargetOrBuilder
-
getDeployParametersMap
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersMapin interfaceTargetOrBuilder
-
getDeployParametersOrDefault
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrDefaultin interfaceTargetOrBuilder
-
getDeployParametersOrThrow
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrThrowin interfaceTargetOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Target parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Target parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Target parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Target parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Target parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Target parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Target parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Target parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Target.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-