- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.0
- 2.1.10
public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
Deployment contains the deployment identification information.
Protobuf type google.devtools.cloudprofiler.v2.Deployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Deployment.BuilderImplements
DeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
build()
public Deployment build()
Returns | |
---|---|
Type | Description |
Deployment |
buildPartial()
public Deployment buildPartial()
Returns | |
---|---|
Type | Description |
Deployment |
clear()
public Deployment.Builder clear()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearLabels()
public Deployment.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearProjectId()
public Deployment.Builder clearProjectId()
Project ID is the ID of a cloud project.
Validation regex: ^a-z{4,61}[a-z0-9]$
.
string project_id = 1;
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
clearTarget()
public Deployment.Builder clearTarget()
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?$
.
string target = 2;
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
clone()
public Deployment.Builder clone()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Deployment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public 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?$
.
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getProjectId()
public String getProjectId()
Project ID is the ID of a cloud project.
Validation regex: ^a-z{4,61}[a-z0-9]$
.
string project_id = 1;
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Project ID is the ID of a cloud project.
Validation regex: ^a-z{4,61}[a-z0-9]$
.
string project_id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
getTarget()
public 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?$
.
string target = 2;
Returns | |
---|---|
Type | Description |
String | The target. |
getTargetBytes()
public 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?$
.
string target = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for target. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
Parameter | |
---|---|
Name | Description |
other | Deployment |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
putAllLabels(Map<String,String> values)
public Deployment.Builder putAllLabels(Map<String,String> values)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
putLabels(String key, String value)
public Deployment.Builder putLabels(String key, String value)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
removeLabels(String key)
public Deployment.Builder removeLabels(String key)
Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setProjectId(String value)
public Deployment.Builder setProjectId(String value)
Project ID is the ID of a cloud project.
Validation regex: ^a-z{4,61}[a-z0-9]$
.
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public Deployment.Builder setProjectIdBytes(ByteString value)
Project ID is the ID of a cloud project.
Validation regex: ^a-z{4,61}[a-z0-9]$
.
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setTarget(String value)
public Deployment.Builder setTarget(String value)
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?$
.
string target = 2;
Parameter | |
---|---|
Name | Description |
value | String The target to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
setTargetBytes(ByteString value)
public Deployment.Builder setTargetBytes(ByteString value)
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?$
.
string target = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for target to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |