Class SystemTool.Builder (0.1.0)

public static final class SystemTool.Builder extends GeneratedMessage.Builder<SystemTool.Builder> implements SystemToolOrBuilder

Pre-defined system tool.

Protobuf type google.cloud.ces.v1.SystemTool

Implements

SystemToolOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SystemTool build()
Returns
Type Description
SystemTool

buildPartial()

public SystemTool buildPartial()
Returns
Type Description
SystemTool

clear()

public SystemTool.Builder clear()
Returns
Type Description
SystemTool.Builder
Overrides

clearDescription()

public SystemTool.Builder clearDescription()

Output only. The description of the system tool.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTool.Builder

This builder for chaining.

clearName()

public SystemTool.Builder clearName()

Required. The name of the system tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SystemTool.Builder

This builder for chaining.

getDefaultInstanceForType()

public SystemTool getDefaultInstanceForType()
Returns
Type Description
SystemTool

getDescription()

public String getDescription()

Output only. The description of the system tool.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the system tool.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the system tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the system tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SystemTool other)

public SystemTool.Builder mergeFrom(SystemTool other)
Parameter
Name Description
other SystemTool
Returns
Type Description
SystemTool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SystemTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemTool.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SystemTool.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SystemTool.Builder
Overrides

setDescription(String value)

public SystemTool.Builder setDescription(String value)

Output only. The description of the system tool.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
SystemTool.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public SystemTool.Builder setDescriptionBytes(ByteString value)

Output only. The description of the system tool.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
SystemTool.Builder

This builder for chaining.

setName(String value)

public SystemTool.Builder setName(String value)

Required. The name of the system tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SystemTool.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SystemTool.Builder setNameBytes(ByteString value)

Required. The name of the system tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SystemTool.Builder

This builder for chaining.