Package com.google.cloud.deploy.v1
Class Target
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class Target extends com.google.protobuf.GeneratedMessageV3 implements TargetOrBuilder
A `Target` resource in the Cloud Deploy API. A `Target` defines a location to which a Skaffold configuration can be deployed.
Protobuf typegoogle.cloud.deploy.v1.Target
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Target.Builder
A `Target` resource in the Cloud Deploy API.static class
Target.DeploymentTargetCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANNOTATIONS_FIELD_NUMBER
static int
ANTHOS_CLUSTER_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DEPLOY_PARAMETERS_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
EXECUTION_CONFIGS_FIELD_NUMBER
static int
GKE_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MULTI_TARGET_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
REQUIRE_APPROVAL_FIELD_NUMBER
static int
RUN_FIELD_NUMBER
static int
TARGET_ID_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Optional.boolean
containsDeployParameters(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.AnthosCluster
getAnthosCluster()
Optional.AnthosClusterOrBuilder
getAnthosClusterOrBuilder()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Target
getDefaultInstance()
Target
getDefaultInstanceForType()
Target.DeploymentTargetCase
getDeploymentTargetCase()
Map<String,String>
getDeployParameters()
Deprecated.int
getDeployParametersCount()
Optional.Map<String,String>
getDeployParametersMap()
Optional.String
getDeployParametersOrDefault(String key, String defaultValue)
Optional.String
getDeployParametersOrThrow(String key)
Optional.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.ExecutionConfig
getExecutionConfigs(int index)
Configurations for all execution that relates to this `Target`.int
getExecutionConfigsCount()
Configurations for all execution that relates to this `Target`.List<ExecutionConfig>
getExecutionConfigsList()
Configurations for all execution that relates to this `Target`.ExecutionConfigOrBuilder
getExecutionConfigsOrBuilder(int index)
Configurations for all execution that relates to this `Target`.List<? extends ExecutionConfigOrBuilder>
getExecutionConfigsOrBuilderList()
Configurations for all execution that relates to this `Target`.GkeCluster
getGke()
Optional.GkeClusterOrBuilder
getGkeOrBuilder()
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.MultiTarget
getMultiTarget()
Optional.MultiTargetOrBuilder
getMultiTargetOrBuilder()
Optional.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.com.google.protobuf.Parser<Target>
getParserForType()
boolean
getRequireApproval()
Optional.CloudRunLocation
getRun()
Optional.CloudRunLocationOrBuilder
getRunOrBuilder()
Optional.int
getSerializedSize()
String
getTargetId()
Output only.com.google.protobuf.ByteString
getTargetIdBytes()
Output only.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
hasAnthosCluster()
Optional.boolean
hasCreateTime()
Output only.boolean
hasGke()
Optional.int
hashCode()
boolean
hasMultiTarget()
Optional.boolean
hasRun()
Optional.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Target.Builder
newBuilder()
static Target.Builder
newBuilder(Target prototype)
Target.Builder
newBuilderForType()
protected Target.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Target
parseDelimitedFrom(InputStream input)
static Target
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Target
parseFrom(byte[] data)
static Target
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Target
parseFrom(com.google.protobuf.ByteString data)
static Target
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Target
parseFrom(com.google.protobuf.CodedInputStream input)
static Target
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Target
parseFrom(InputStream input)
static Target
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Target
parseFrom(ByteBuffer data)
static Target
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Target>
parser()
Target.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUIRE_APPROVAL_FIELD_NUMBER
public static final int REQUIRE_APPROVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GKE_FIELD_NUMBER
public static final int GKE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANTHOS_CLUSTER_FIELD_NUMBER
public static final int ANTHOS_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_FIELD_NUMBER
public static final int RUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTI_TARGET_FIELD_NUMBER
public static final int MULTI_TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTION_CONFIGS_FIELD_NUMBER
public static final int EXECUTION_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_PARAMETERS_FIELD_NUMBER
public static final int DEPLOY_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDeploymentTargetCase
public Target.DeploymentTargetCase getDeploymentTargetCase()
- Specified by:
getDeploymentTargetCase
in interfaceTargetOrBuilder
-
getName
public String getName()
Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getName
in interfaceTargetOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNameBytes
in interfaceTargetOrBuilder
- Returns:
- The bytes for name.
-
getTargetId
public String getTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTargetId
in 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:
getTargetIdBytes
in interfaceTargetOrBuilder
- Returns:
- The bytes for targetId.
-
getUid
public String getUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in 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:
getUidBytes
in interfaceTargetOrBuilder
- Returns:
- The bytes for uid.
-
getDescription
public String getDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in 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:
getDescriptionBytes
in interfaceTargetOrBuilder
- Returns:
- The bytes for description.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:TargetOrBuilder
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:
getAnnotationsCount
in interfaceTargetOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsAnnotations
in interfaceTargetOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceTargetOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsMap
in interfaceTargetOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsOrDefault
in interfaceTargetOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsOrThrow
in interfaceTargetOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:TargetOrBuilder
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:
getLabelsCount
in interfaceTargetOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceTargetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceTargetOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceTargetOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceTargetOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceTargetOrBuilder
-
getRequireApproval
public boolean getRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRequireApproval
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasGke
in interfaceTargetOrBuilder
- Returns:
- Whether the gke field is set.
-
getGke
public GkeCluster getGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGke
in interfaceTargetOrBuilder
- Returns:
- The gke.
-
getGkeOrBuilder
public GkeClusterOrBuilder getGkeOrBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGkeOrBuilder
in 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:
hasAnthosCluster
in interfaceTargetOrBuilder
- Returns:
- Whether the anthosCluster field is set.
-
getAnthosCluster
public AnthosCluster getAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnthosCluster
in interfaceTargetOrBuilder
- Returns:
- The anthosCluster.
-
getAnthosClusterOrBuilder
public AnthosClusterOrBuilder getAnthosClusterOrBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnthosClusterOrBuilder
in 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:
hasRun
in interfaceTargetOrBuilder
- Returns:
- Whether the run field is set.
-
getRun
public CloudRunLocation getRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRun
in interfaceTargetOrBuilder
- Returns:
- The run.
-
getRunOrBuilder
public CloudRunLocationOrBuilder getRunOrBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRunOrBuilder
in 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:
hasMultiTarget
in interfaceTargetOrBuilder
- Returns:
- Whether the multiTarget field is set.
-
getMultiTarget
public MultiTarget getMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMultiTarget
in interfaceTargetOrBuilder
- Returns:
- The multiTarget.
-
getMultiTargetOrBuilder
public MultiTargetOrBuilder getMultiTargetOrBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMultiTargetOrBuilder
in interfaceTargetOrBuilder
-
getEtag
public String getEtag()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEtag
in 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:
getEtagBytes
in interfaceTargetOrBuilder
- Returns:
- The bytes for etag.
-
getExecutionConfigsList
public List<ExecutionConfig> getExecutionConfigsList()
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;
- Specified by:
getExecutionConfigsList
in interfaceTargetOrBuilder
-
getExecutionConfigsOrBuilderList
public List<? extends ExecutionConfigOrBuilder> getExecutionConfigsOrBuilderList()
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;
- Specified by:
getExecutionConfigsOrBuilderList
in interfaceTargetOrBuilder
-
getExecutionConfigsCount
public int getExecutionConfigsCount()
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;
- Specified by:
getExecutionConfigsCount
in interfaceTargetOrBuilder
-
getExecutionConfigs
public ExecutionConfig getExecutionConfigs(int index)
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;
- Specified by:
getExecutionConfigs
in interfaceTargetOrBuilder
-
getExecutionConfigsOrBuilder
public ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(int index)
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;
- Specified by:
getExecutionConfigsOrBuilder
in interfaceTargetOrBuilder
-
getDeployParametersCount
public int getDeployParametersCount()
Description copied from interface:TargetOrBuilder
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersCount
in interfaceTargetOrBuilder
-
containsDeployParameters
public boolean containsDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsDeployParameters
in interfaceTargetOrBuilder
-
getDeployParameters
@Deprecated public Map<String,String> getDeployParameters()
Deprecated.UsegetDeployParametersMap()
instead.- Specified by:
getDeployParameters
in interfaceTargetOrBuilder
-
getDeployParametersMap
public Map<String,String> getDeployParametersMap()
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersMap
in interfaceTargetOrBuilder
-
getDeployParametersOrDefault
public String getDeployParametersOrDefault(String key, String defaultValue)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersOrDefault
in interfaceTargetOrBuilder
-
getDeployParametersOrThrow
public String getDeployParametersOrThrow(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersOrThrow
in interfaceTargetOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static Target parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Target parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Target parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Target parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Target parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Target parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Target.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Target.Builder newBuilder()
-
newBuilder
public static Target.Builder newBuilder(Target prototype)
-
toBuilder
public Target.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Target.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Target getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Target> parser()
-
getParserForType
public com.google.protobuf.Parser<Target> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Target getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-