public static final class DeleteCatalogTemplateRequest.Builder extends GeneratedMessage.Builder<DeleteCatalogTemplateRequest.Builder> implements DeleteCatalogTemplateRequestOrBuilderMessage for deleting a catalog template.
Protobuf type google.cloud.designcenter.v1.DeleteCatalogTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteCatalogTemplateRequest.BuilderImplements
DeleteCatalogTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteCatalogTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest |
|
buildPartial()
public DeleteCatalogTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest |
|
clear()
public DeleteCatalogTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
|
clearForce()
public DeleteCatalogTemplateRequest.Builder clearForce()Optional. If set to true, the catalog template's children are also deleted. If false, the catalog template is only deleted if it has no children.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
This builder for chaining. |
clearName()
public DeleteCatalogTemplateRequest.Builder clearName() Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteCatalogTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getForce()
public boolean getForce()Optional. If set to true, the catalog template's children are also deleted. If false, the catalog template is only deleted if it has no children.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The force. |
getName()
public String getName() Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteCatalogTemplateRequest other)
public DeleteCatalogTemplateRequest.Builder mergeFrom(DeleteCatalogTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteCatalogTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteCatalogTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteCatalogTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
|
setForce(boolean value)
public DeleteCatalogTemplateRequest.Builder setForce(boolean value)Optional. If set to true, the catalog template's children are also deleted. If false, the catalog template is only deleted if it has no children.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe force to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteCatalogTemplateRequest.Builder setName(String value) Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteCatalogTemplateRequest.Builder setNameBytes(ByteString value) Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest.Builder |
This builder for chaining. |