Class UpdateDatasetRequest.Builder (3.21.0)

public static final class UpdateDatasetRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatasetRequest.Builder> implements UpdateDatasetRequestOrBuilder

Request message for DatasetService.UpdateDataset.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateDatasetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDatasetRequest build()
Returns
TypeDescription
UpdateDatasetRequest

buildPartial()

public UpdateDatasetRequest buildPartial()
Returns
TypeDescription
UpdateDatasetRequest

clear()

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

clearDataset()

public UpdateDatasetRequest.Builder clearDataset()

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDatasetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDatasetRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDatasetRequest.Builder

clone()

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

getDataset()

public Dataset getDataset()

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Dataset

The dataset.

getDatasetBuilder()

public Dataset.Builder getDatasetBuilder()

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Dataset.Builder

getDatasetOrBuilder()

public DatasetOrBuilder getDatasetOrBuilder()

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatasetOrBuilder

getDefaultInstanceForType()

public UpdateDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDataset()

public boolean hasDataset()

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataset field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataset(Dataset value)

public UpdateDatasetRequest.Builder mergeDataset(Dataset value)

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataset
Returns
TypeDescription
UpdateDatasetRequest.Builder

mergeFrom(UpdateDatasetRequest other)

public UpdateDatasetRequest.Builder mergeFrom(UpdateDatasetRequest other)
Parameter
NameDescription
otherUpdateDatasetRequest
Returns
TypeDescription
UpdateDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDatasetRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDatasetRequest.Builder

setDataset(Dataset value)

public UpdateDatasetRequest.Builder setDataset(Dataset value)

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataset
Returns
TypeDescription
UpdateDatasetRequest.Builder

setDataset(Dataset.Builder builderForValue)

public UpdateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)

Required. The Dataset which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDataset.Builder
Returns
TypeDescription
UpdateDatasetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDatasetRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDatasetRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDatasetRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask. Updatable fields:

  • display_name
  • description
  • labels

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDatasetRequest.Builder