public static final class ResourceType.Builder extends GeneratedMessage.Builder<ResourceType.Builder> implements ResourceTypeOrBuilderRepresents the type of a resource within a component template.
Protobuf type google.cloud.designcenter.v1.ResourceType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourceType.BuilderImplements
ResourceTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ResourceType build()| Returns | |
|---|---|
| Type | Description |
ResourceType |
|
buildPartial()
public ResourceType buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceType |
|
clear()
public ResourceType.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
|
clearCaisResource()
public ResourceType.Builder clearCaisResource()Output only. The CAIS resource type.
string cais_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |
clearTfResource()
public ResourceType.Builder clearTfResource()Output only. The Terraform resource type. For example: "google_compute_instance".
string tf_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |
getCaisResource()
public String getCaisResource()Output only. The CAIS resource type.
string cais_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The caisResource. |
getCaisResourceBytes()
public ByteString getCaisResourceBytes()Output only. The CAIS resource type.
string cais_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for caisResource. |
getDefaultInstanceForType()
public ResourceType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceType |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTfResource()
public String getTfResource()Output only. The Terraform resource type. For example: "google_compute_instance".
string tf_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The tfResource. |
getTfResourceBytes()
public ByteString getTfResourceBytes()Output only. The Terraform resource type. For example: "google_compute_instance".
string tf_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tfResource. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ResourceType other)
public ResourceType.Builder mergeFrom(ResourceType other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceType |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceType.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
|
setCaisResource(String value)
public ResourceType.Builder setCaisResource(String value)Output only. The CAIS resource type.
string cais_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe caisResource to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |
setCaisResourceBytes(ByteString value)
public ResourceType.Builder setCaisResourceBytes(ByteString value)Output only. The CAIS resource type.
string cais_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for caisResource to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |
setTfResource(String value)
public ResourceType.Builder setTfResource(String value)Output only. The Terraform resource type. For example: "google_compute_instance".
string tf_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tfResource to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |
setTfResourceBytes(ByteString value)
public ResourceType.Builder setTfResourceBytes(ByteString value)Output only. The Terraform resource type. For example: "google_compute_instance".
string tf_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tfResource to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceType.Builder |
This builder for chaining. |