Class UpdateDatasetConfigRequest.Builder (0.48.0)

public static final class UpdateDatasetConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatasetConfigRequest.Builder> implements UpdateDatasetConfigRequestOrBuilder

Request message for UpdateDatasetConfig

Protobuf type google.cloud.storageinsights.v1.UpdateDatasetConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDatasetConfigRequest build()
Returns
Type Description
UpdateDatasetConfigRequest

buildPartial()

public UpdateDatasetConfigRequest buildPartial()
Returns
Type Description
UpdateDatasetConfigRequest

clear()

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

clearDatasetConfig()

public UpdateDatasetConfigRequest.Builder clearDatasetConfig()

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDatasetConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateDatasetConfigRequest.Builder clearRequestId()

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request.

For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request.

The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateDatasetConfigRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateDatasetConfigRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Returns
Type Description
UpdateDatasetConfigRequest.Builder

clone()

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

getDatasetConfig()

public DatasetConfig getDatasetConfig()

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetConfig

The datasetConfig.

getDatasetConfigBuilder()

public DatasetConfig.Builder getDatasetConfigBuilder()

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetConfig.Builder

getDatasetConfigOrBuilder()

public DatasetConfigOrBuilder getDatasetConfigOrBuilder()

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetConfigOrBuilder

getDefaultInstanceForType()

public UpdateDatasetConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDatasetConfigRequest

getDescriptorForType()

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

getRequestId()

public String getRequestId()

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request.

For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request.

The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request.

For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request.

The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Returns
Type Description
FieldMaskOrBuilder

hasDatasetConfig()

public boolean hasDatasetConfig()

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the datasetConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatasetConfig(DatasetConfig value)

public UpdateDatasetConfigRequest.Builder mergeDatasetConfig(DatasetConfig value)

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetConfig
Returns
Type Description
UpdateDatasetConfigRequest.Builder

mergeFrom(UpdateDatasetConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDatasetConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDatasetConfigRequest.Builder

setDatasetConfig(DatasetConfig value)

public UpdateDatasetConfigRequest.Builder setDatasetConfig(DatasetConfig value)

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetConfig
Returns
Type Description
UpdateDatasetConfigRequest.Builder

setDatasetConfig(DatasetConfig.Builder builderForValue)

public UpdateDatasetConfigRequest.Builder setDatasetConfig(DatasetConfig.Builder builderForValue)

Required. The resource being updated

.google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DatasetConfig.Builder
Returns
Type Description
UpdateDatasetConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequestId(String value)

public UpdateDatasetConfigRequest.Builder setRequestId(String value)

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request.

For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request.

The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateDatasetConfigRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateDatasetConfigRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request.

For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request.

The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateDatasetConfigRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDatasetConfigRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDatasetConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDatasetConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDatasetConfigRequest.Builder