public static final class ModuleResource.Builder extends GeneratedMessage.Builder<ModuleResource.Builder> implements ModuleResourceOrBuilderRepresents a resource declared within a module.
Protobuf type google.cloud.designcenter.v1.ModuleResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModuleResource.BuilderImplements
ModuleResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ModuleResource build()| Returns | |
|---|---|
| Type | Description |
ModuleResource |
|
buildPartial()
public ModuleResource buildPartial()| Returns | |
|---|---|
| Type | Description |
ModuleResource |
|
clear()
public ModuleResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
|
clearName()
public ModuleResource.Builder clearName()Optional. Local name of the resource instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |
clearType()
public ModuleResource.Builder clearType()Optional. Type of the resource (e.g., "google_secret_manager_secret").
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ModuleResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModuleResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Optional. Local name of the resource instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. Local name of the resource instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public String getType()Optional. Type of the resource (e.g., "google_secret_manager_secret").
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Optional. Type of the resource (e.g., "google_secret_manager_secret").
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ModuleResource other)
public ModuleResource.Builder mergeFrom(ModuleResource other)| Parameter | |
|---|---|
| Name | Description |
other |
ModuleResource |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModuleResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModuleResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
|
setName(String value)
public ModuleResource.Builder setName(String value)Optional. Local name of the resource instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ModuleResource.Builder setNameBytes(ByteString value)Optional. Local name of the resource instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |
setType(String value)
public ModuleResource.Builder setType(String value)Optional. Type of the resource (e.g., "google_secret_manager_secret").
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public ModuleResource.Builder setTypeBytes(ByteString value)Optional. Type of the resource (e.g., "google_secret_manager_secret").
string type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleResource.Builder |
This builder for chaining. |