Class UpdateDataAccessLabelRequest.Builder (0.21.0)

public static final class UpdateDataAccessLabelRequest.Builder extends GeneratedMessage.Builder<UpdateDataAccessLabelRequest.Builder> implements UpdateDataAccessLabelRequestOrBuilder

Request message for UpdateDataAccessLabel method.

Protobuf type google.cloud.chronicle.v1.UpdateDataAccessLabelRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateDataAccessLabelRequest build()
Returns
Type Description
UpdateDataAccessLabelRequest

buildPartial()

public UpdateDataAccessLabelRequest buildPartial()
Returns
Type Description
UpdateDataAccessLabelRequest

clear()

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

clearDataAccessLabel()

public UpdateDataAccessLabelRequest.Builder clearDataAccessLabel()

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataAccessLabelRequest.Builder

clearUpdateMask()

public UpdateDataAccessLabelRequest.Builder clearUpdateMask()

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDataAccessLabelRequest.Builder

getDataAccessLabel()

public DataAccessLabel getDataAccessLabel()

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessLabel

The dataAccessLabel.

getDataAccessLabelBuilder()

public DataAccessLabel.Builder getDataAccessLabelBuilder()

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessLabel.Builder

getDataAccessLabelOrBuilder()

public DataAccessLabelOrBuilder getDataAccessLabelOrBuilder()

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessLabelOrBuilder

getDefaultInstanceForType()

public UpdateDataAccessLabelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataAccessLabelRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDataAccessLabel()

public boolean hasDataAccessLabel()

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataAccessLabel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataAccessLabel(DataAccessLabel value)

public UpdateDataAccessLabelRequest.Builder mergeDataAccessLabel(DataAccessLabel value)

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAccessLabel
Returns
Type Description
UpdateDataAccessLabelRequest.Builder

mergeFrom(UpdateDataAccessLabelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateDataAccessLabelRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataAccessLabelRequest.Builder

setDataAccessLabel(DataAccessLabel value)

public UpdateDataAccessLabelRequest.Builder setDataAccessLabel(DataAccessLabel value)

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAccessLabel
Returns
Type Description
UpdateDataAccessLabelRequest.Builder

setDataAccessLabel(DataAccessLabel.Builder builderForValue)

public UpdateDataAccessLabelRequest.Builder setDataAccessLabel(DataAccessLabel.Builder builderForValue)

Required. The data access label to update.

The label's name field is used to identify the label to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}

.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataAccessLabel.Builder
Returns
Type Description
UpdateDataAccessLabelRequest.Builder

setUpdateMask(FieldMask value)

public UpdateDataAccessLabelRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataAccessLabelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataAccessLabelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDataAccessLabelRequest.Builder