Class UpdateDataAccessLabelRequest.Builder (0.1.0)

public static final class UpdateDataAccessLabelRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataAccessLabelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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