Class CreateToolsetRequest (0.1.0)

public final class CreateToolsetRequest extends GeneratedMessage implements CreateToolsetRequestOrBuilder

Request message for AgentService.CreateToolset.

Protobuf type google.cloud.ces.v1.CreateToolsetRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TOOLSET_FIELD_NUMBER

public static final int TOOLSET_FIELD_NUMBER
Field Value
Type Description
int

TOOLSET_ID_FIELD_NUMBER

public static final int TOOLSET_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateToolsetRequest getDefaultInstance()
Returns
Type Description
CreateToolsetRequest

getDescriptor()

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

newBuilder()

public static CreateToolsetRequest.Builder newBuilder()
Returns
Type Description
CreateToolsetRequest.Builder

newBuilder(CreateToolsetRequest prototype)

public static CreateToolsetRequest.Builder newBuilder(CreateToolsetRequest prototype)
Parameter
Name Description
prototype CreateToolsetRequest
Returns
Type Description
CreateToolsetRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateToolsetRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateToolsetRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateToolsetRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateToolsetRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateToolsetRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateToolsetRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateToolsetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateToolsetRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateToolsetRequest> parser()
Returns
Type Description
Parser<CreateToolsetRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateToolsetRequest getDefaultInstanceForType()
Returns
Type Description
CreateToolsetRequest

getParent()

public String getParent()

Required. The resource name of the app to create a toolset in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the app to create a toolset in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateToolsetRequest> getParserForType()
Returns
Type Description
Parser<CreateToolsetRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToolset()

public Toolset getToolset()

Required. The toolset to create.

.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Toolset

The toolset.

getToolsetId()

public String getToolsetId()

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

string toolset_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The toolsetId.

getToolsetIdBytes()

public ByteString getToolsetIdBytes()

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

string toolset_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for toolsetId.

getToolsetOrBuilder()

public ToolsetOrBuilder getToolsetOrBuilder()

Required. The toolset to create.

.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolsetOrBuilder

hasToolset()

public boolean hasToolset()

Required. The toolset to create.

.google.cloud.ces.v1.Toolset toolset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the toolset field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateToolsetRequest.Builder newBuilderForType()
Returns
Type Description
CreateToolsetRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateToolsetRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateToolsetRequest.Builder
Overrides

toBuilder()

public CreateToolsetRequest.Builder toBuilder()
Returns
Type Description
CreateToolsetRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException