Class GetDatasetVersionRequest.Builder (3.56.0)

public static final class GetDatasetVersionRequest.Builder extends GeneratedMessageV3.Builder<GetDatasetVersionRequest.Builder> implements GetDatasetVersionRequestOrBuilder

Request message for DatasetService.GetDatasetVersion.

Protobuf type google.cloud.aiplatform.v1beta1.GetDatasetVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetDatasetVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

build()

public GetDatasetVersionRequest build()
Returns
Type Description
GetDatasetVersionRequest

buildPartial()

public GetDatasetVersionRequest buildPartial()
Returns
Type Description
GetDatasetVersionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetDatasetVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

clearName()

public GetDatasetVersionRequest.Builder clearName()

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

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

Returns
Type Description
GetDatasetVersionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetDatasetVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

clearReadMask()

public GetDatasetVersionRequest.Builder clearReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
GetDatasetVersionRequest.Builder

clone()

public GetDatasetVersionRequest.Builder clone()
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

getDefaultInstanceForType()

public GetDatasetVersionRequest getDefaultInstanceForType()
Returns
Type Description
GetDatasetVersionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

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

Returns
Type Description
ByteString

The bytes for name.

getReadMask()

public FieldMask getReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetDatasetVersionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReadMask(FieldMask value)

public GetDatasetVersionRequest.Builder mergeReadMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetDatasetVersionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetDatasetVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetDatasetVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

setName(String value)

public GetDatasetVersionRequest.Builder setName(String value)

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDatasetVersionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDatasetVersionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetDatasetVersionRequest.Builder

This builder for chaining.

setReadMask(FieldMask value)

public GetDatasetVersionRequest.Builder setReadMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetDatasetVersionRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public GetDatasetVersionRequest.Builder setReadMask(FieldMask.Builder builderForValue)

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GetDatasetVersionRequest.Builder

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

public GetDatasetVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetDatasetVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetDatasetVersionRequest.Builder
Overrides