Class GetDatasetRequest.Builder (3.24.0)

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

Request message for DatasetService.GetDataset.

Protobuf type google.cloud.aiplatform.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 name of the Dataset resource.

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

clearReadMask()

public GetDatasetRequest.Builder clearReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
GetDatasetRequest.Builder

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 name of the Dataset resource.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Dataset resource.

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

Returns
TypeDescription
ByteString

The bytes for name.

getReadMask()

public FieldMask getReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
boolean

Whether the readMask field is set.

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

mergeReadMask(FieldMask value)

public GetDatasetRequest.Builder mergeReadMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
GetDatasetRequest.Builder

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 name of the Dataset resource.

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 name of the Dataset resource.

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.

setReadMask(FieldMask value)

public GetDatasetRequest.Builder setReadMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
GetDatasetRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public GetDatasetRequest.Builder setReadMask(FieldMask.Builder builderForValue)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
GetDatasetRequest.Builder

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