public final class Deployment extends com.google.protobuf.GeneratedMessageV3 implements DeploymentOrBuilder
Deployment contains the deployment identification information.Protobuf type
google.devtools.cloudprofiler.v2.Deployment| Modifier and Type | Class and Description |
|---|---|
static class |
Deployment.Builder
Deployment contains the deployment identification information.
|
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 |
LABELS_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels identify the deployment within the user universe and same target.
|
boolean |
equals(Object obj) |
static Deployment |
getDefaultInstance() |
Deployment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels identify the deployment within the user universe and same target.
|
Map<String,String> |
getLabelsMap()
Labels identify the deployment within the user universe and same target.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels identify the deployment within the user universe and same target.
|
String |
getLabelsOrThrow(String key)
Labels identify the deployment within the user universe and same target.
|
com.google.protobuf.Parser<Deployment> |
getParserForType() |
String |
getProjectId()
Project ID is the ID of a cloud project.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project ID is the ID of a cloud project.
|
int |
getSerializedSize() |
String |
getTarget()
Target is the service name used to group related deployments:
* Service name for App Engine Flex / Standard
|
com.google.protobuf.ByteString |
getTargetBytes()
Target is the service name used to group related deployments:
* Service name for App Engine Flex / Standard
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Deployment.Builder |
newBuilder() |
static Deployment.Builder |
newBuilder(Deployment prototype) |
Deployment.Builder |
newBuilderForType() |
protected Deployment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Deployment |
parseDelimitedFrom(InputStream input) |
static Deployment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Deployment |
parseFrom(byte[] data) |
static Deployment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Deployment |
parseFrom(ByteBuffer data) |
static Deployment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Deployment |
parseFrom(com.google.protobuf.ByteString data) |
static Deployment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Deployment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Deployment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Deployment |
parseFrom(InputStream input) |
static Deployment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Deployment> |
parser() |
Deployment.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, internalGetMapField, 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 PROJECT_ID_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int LABELS_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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getProjectId()
Project ID is the ID of a cloud project.
Validation regex: `^[a-z][-a-z0-9:.]{4,61}[a-z0-9]$`.
string project_id = 1;getProjectId in interface DeploymentOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Project ID is the ID of a cloud project.
Validation regex: `^[a-z][-a-z0-9:.]{4,61}[a-z0-9]$`.
string project_id = 1;getProjectIdBytes in interface DeploymentOrBuilderpublic String getTarget()
Target is the service name used to group related deployments:
* Service name for App Engine Flex / Standard.
* Cluster and container name for GKE.
* User-specified string for direct Compute Engine profiling (e.g. Java).
* Job name for Dataflow.
Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
string target = 2;getTarget in interface DeploymentOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
Target is the service name used to group related deployments:
* Service name for App Engine Flex / Standard.
* Cluster and container name for GKE.
* User-specified string for direct Compute Engine profiling (e.g. Java).
* Job name for Dataflow.
Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
string target = 2;getTargetBytes in interface DeploymentOrBuilderpublic int getLabelsCount()
DeploymentOrBuilder
Labels identify the deployment within the user universe and same target.
Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of
the profiled deployment. The standard choices for the value include "java",
"go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label
should be present describing the deployment location. An example of a zone
is "us-central1-a", an example of a region is "us-central1" or
"us-central".
map<string, string> labels = 3;getLabelsCount in interface DeploymentOrBuilderpublic boolean containsLabels(String key)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of
the profiled deployment. The standard choices for the value include "java",
"go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label
should be present describing the deployment location. An example of a zone
is "us-central1-a", an example of a region is "us-central1" or
"us-central".
map<string, string> labels = 3;containsLabels in interface DeploymentOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface DeploymentOrBuilderpublic Map<String,String> getLabelsMap()
Labels identify the deployment within the user universe and same target.
Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of
the profiled deployment. The standard choices for the value include "java",
"go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label
should be present describing the deployment location. An example of a zone
is "us-central1-a", an example of a region is "us-central1" or
"us-central".
map<string, string> labels = 3;getLabelsMap in interface DeploymentOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of
the profiled deployment. The standard choices for the value include "java",
"go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label
should be present describing the deployment location. An example of a zone
is "us-central1-a", an example of a region is "us-central1" or
"us-central".
map<string, string> labels = 3;getLabelsOrDefault in interface DeploymentOrBuilderpublic String getLabelsOrThrow(String key)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of
the profiled deployment. The standard choices for the value include "java",
"go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label
should be present describing the deployment location. An example of a zone
is "us-central1-a", an example of a region is "us-central1" or
"us-central".
map<string, string> labels = 3;getLabelsOrThrow in interface DeploymentOrBuilderpublic 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 Deployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Deployment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Deployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Deployment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Deployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Deployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Deployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Deployment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Deployment.Builder newBuilder()
public static Deployment.Builder newBuilder(Deployment prototype)
public Deployment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Deployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Deployment getDefaultInstance()
public static com.google.protobuf.Parser<Deployment> parser()
public com.google.protobuf.Parser<Deployment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Deployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.