Class GetDatasetVersionRequest.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDatasetVersionRequest build()
Returns
TypeDescription
GetDatasetVersionRequest

buildPartial()

public GetDatasetVersionRequest buildPartial()
Returns
TypeDescription
GetDatasetVersionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetDatasetVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetDatasetVersionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReadMask()

public GetDatasetVersionRequest.Builder clearReadMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
GetDatasetVersionRequest.Builder

clone()

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

getDefaultInstanceForType()

public GetDatasetVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDatasetVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(GetDatasetVersionRequest other)

public GetDatasetVersionRequest.Builder mergeFrom(GetDatasetVersionRequest other)
Parameter
NameDescription
otherGetDatasetVersionRequest
Returns
TypeDescription
GetDatasetVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GetDatasetVersionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
GetDatasetVersionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetDatasetVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
GetDatasetVersionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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