public static final class DeployedResource.Builder extends GeneratedMessage.Builder<DeployedResource.Builder> implements DeployedResourceOrBuilderDeployedResource represents a single deployed GCP resource.
Protobuf type google.cloud.designcenter.v1.DeployedResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployedResource.BuilderImplements
DeployedResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployedResource build()| Returns | |
|---|---|
| Type | Description |
DeployedResource |
|
buildPartial()
public DeployedResource buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployedResource |
|
clear()
public DeployedResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
|
clearLocation()
public DeployedResource.Builder clearLocation()Optional. The location of the deployed resource.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
clearProject()
public DeployedResource.Builder clearProject()Optional. The project ID of the deployed resource.
string project = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
clearResourceId()
public DeployedResource.Builder clearResourceId()Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance
string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeployedResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployedResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public String getLocation()Optional. The location of the deployed resource.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Optional. The location of the deployed resource.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getProject()
public String getProject()Optional. The project ID of the deployed resource.
string project = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Optional. The project ID of the deployed resource.
string project = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getResourceId()
public String getResourceId()Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance
string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The resourceId. |
getResourceIdBytes()
public ByteString getResourceIdBytes()Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance
string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeployedResource other)
public DeployedResource.Builder mergeFrom(DeployedResource other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployedResource |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployedResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
|
setLocation(String value)
public DeployedResource.Builder setLocation(String value)Optional. The location of the deployed resource.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public DeployedResource.Builder setLocationBytes(ByteString value)Optional. The location of the deployed resource.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
setProject(String value)
public DeployedResource.Builder setProject(String value)Optional. The project ID of the deployed resource.
string project = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public DeployedResource.Builder setProjectBytes(ByteString value)Optional. The project ID of the deployed resource.
string project = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
setResourceId(String value)
public DeployedResource.Builder setResourceId(String value)Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance
string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceId to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |
setResourceIdBytes(ByteString value)
public DeployedResource.Builder setResourceIdBytes(ByteString value)Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance
string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceId to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedResource.Builder |
This builder for chaining. |