Class UpdateDataAccessScopeRequest.Builder (0.1.0)

public static final class UpdateDataAccessScopeRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataAccessScopeRequest.Builder> implements UpdateDataAccessScopeRequestOrBuilder

Request message for UpdateDataAccessScope method.

Protobuf type google.cloud.chronicle.v1.UpdateDataAccessScopeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataAccessScopeRequest build()
Returns
Type Description
UpdateDataAccessScopeRequest

buildPartial()

public UpdateDataAccessScopeRequest buildPartial()
Returns
Type Description
UpdateDataAccessScopeRequest

clear()

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

clearDataAccessScope()

public UpdateDataAccessScopeRequest.Builder clearDataAccessScope()

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataAccessScopeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataAccessScopeRequest.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, the allowed and denied labels list 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
UpdateDataAccessScopeRequest.Builder

clone()

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

getDataAccessScope()

public DataAccessScope getDataAccessScope()

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessScope

The dataAccessScope.

getDataAccessScopeBuilder()

public DataAccessScope.Builder getDataAccessScopeBuilder()

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessScope.Builder

getDataAccessScopeOrBuilder()

public DataAccessScopeOrBuilder getDataAccessScopeOrBuilder()

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAccessScopeOrBuilder

getDefaultInstanceForType()

public UpdateDataAccessScopeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataAccessScopeRequest

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, the allowed and denied labels list 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, the allowed and denied labels list 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, the allowed and denied labels list 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

hasDataAccessScope()

public boolean hasDataAccessScope()

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataAccessScope 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, the allowed and denied labels list 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

mergeDataAccessScope(DataAccessScope value)

public UpdateDataAccessScopeRequest.Builder mergeDataAccessScope(DataAccessScope value)

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAccessScope
Returns
Type Description
UpdateDataAccessScopeRequest.Builder

mergeFrom(UpdateDataAccessScopeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDataAccessScopeRequest.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, the allowed and denied labels list 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
UpdateDataAccessScopeRequest.Builder

setDataAccessScope(DataAccessScope value)

public UpdateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope value)

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAccessScope
Returns
Type Description
UpdateDataAccessScopeRequest.Builder

setDataAccessScope(DataAccessScope.Builder builderForValue)

public UpdateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope.Builder builderForValue)

Required. The data access scope to update.

The scope's name field is used to identify the scope to update. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataAccessScope.Builder
Returns
Type Description
UpdateDataAccessScopeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataAccessScopeRequest.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, the allowed and denied labels list 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
UpdateDataAccessScopeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataAccessScopeRequest.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, the allowed and denied labels list 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
UpdateDataAccessScopeRequest.Builder