Class GetDatasetRequest.Builder (2.33.0)

public static final class GetDatasetRequest.Builder extends GeneratedMessageV3.Builder<GetDatasetRequest.Builder> implements GetDatasetRequestOrBuilder

Request message for AutoMl.GetDataset.

Protobuf type google.cloud.automl.v1.GetDatasetRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

build()

public GetDatasetRequest build()
Returns
TypeDescription
GetDatasetRequest

buildPartial()

public GetDatasetRequest buildPartial()
Returns
TypeDescription
GetDatasetRequest

clear()

public GetDatasetRequest.Builder clear()
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

clearName()

public GetDatasetRequest.Builder clearName()

Required. The resource name of the dataset to retrieve.

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

Returns
TypeDescription
GetDatasetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

clone()

public GetDatasetRequest.Builder clone()
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

getDefaultInstanceForType()

public GetDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the dataset to retrieve.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the dataset to retrieve.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetDatasetRequest other)

public GetDatasetRequest.Builder mergeFrom(GetDatasetRequest other)
Parameter
NameDescription
otherGetDatasetRequest
Returns
TypeDescription
GetDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetDatasetRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

setName(String value)

public GetDatasetRequest.Builder setName(String value)

Required. The resource name of the dataset to retrieve.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetDatasetRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDatasetRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the dataset to retrieve.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetDatasetRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetDatasetRequest.Builder
Overrides