public static final class DeleteApplicationTemplateRequest.Builder extends GeneratedMessage.Builder<DeleteApplicationTemplateRequest.Builder> implements DeleteApplicationTemplateRequestOrBuilderMessage for deleting an application template.
Protobuf type google.cloud.designcenter.v1.DeleteApplicationTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteApplicationTemplateRequest.BuilderImplements
DeleteApplicationTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteApplicationTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest |
|
buildPartial()
public DeleteApplicationTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest |
|
clear()
public DeleteApplicationTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
|
clearForce()
public DeleteApplicationTemplateRequest.Builder clearForce()Optional. If set to true, the application template's children are also deleted. If false, the application template is only deleted if it has no children.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
This builder for chaining. |
clearName()
public DeleteApplicationTemplateRequest.Builder clearName()Required. The application template name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteApplicationTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getForce()
public boolean getForce()Optional. If set to true, the application template's children are also deleted. If false, the application 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 application template name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The application template name.
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(DeleteApplicationTemplateRequest other)
public DeleteApplicationTemplateRequest.Builder mergeFrom(DeleteApplicationTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteApplicationTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteApplicationTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteApplicationTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
|
setForce(boolean value)
public DeleteApplicationTemplateRequest.Builder setForce(boolean value)Optional. If set to true, the application template's children are also deleted. If false, the application 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 |
DeleteApplicationTemplateRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteApplicationTemplateRequest.Builder setName(String value)Required. The application template name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteApplicationTemplateRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteApplicationTemplateRequest.Builder setNameBytes(ByteString value)Required. The application template name.
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 |
DeleteApplicationTemplateRequest.Builder |
This builder for chaining. |