public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder
   
   Deployment contains the deployment identification information.
 Protobuf type google.devtools.cloudprofiler.v2.Deployment
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  
  
    public static final int LABELS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
    public static final int PROJECT_ID_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
    public static final int TARGET_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  
  
    public static Deployment getDefaultInstance()
   
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  
  
    public static Deployment.Builder newBuilder()
   
  
  
  
  
    public static Deployment.Builder newBuilder(Deployment prototype)
   
  
  
  
  
  
    public static Deployment parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Deployment parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  
  
    public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Deployment parseFrom(ByteString data)
   
  
  
  
  
  
  
    public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Deployment parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Deployment parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Deployment parseFrom(ByteBuffer data)
   
  
  
  
  
  
  
    public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Parser<Deployment> parser()
   
  
  Methods
  
  
  
  
    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
 | 
    
  
  
  
  
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  
  
    public Deployment getDefaultInstanceForType()
   
  
  
  
  
    public Map<String,String> getLabels()
   
  
  
  
  
  
    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 |  | 
    
  
  
  
  
    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;
    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;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String |  | 
    
  
  
  
  
    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 |  | 
    
  
  
  
  
    public Parser<Deployment> getParserForType()
   
  
  Overrides
  
  
  
  
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  
  
    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. | 
    
  
  
  
  
    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. | 
    
  
  
  
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    protected MapField internalGetMapField(int number)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public Deployment.Builder newBuilderForType()
   
  
  
  
  
    protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  
  
    public Deployment.Builder toBuilder()
   
  
  
  
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides