Class UpdateReferenceListRequest.Builder (0.21.0)

public static final class UpdateReferenceListRequest.Builder extends GeneratedMessage.Builder<UpdateReferenceListRequest.Builder> implements UpdateReferenceListRequestOrBuilder

A request to update a reference list.

Protobuf type google.cloud.chronicle.v1.UpdateReferenceListRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateReferenceListRequest build()
Returns
Type Description
UpdateReferenceListRequest

buildPartial()

public UpdateReferenceListRequest buildPartial()
Returns
Type Description
UpdateReferenceListRequest

clear()

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

clearReferenceList()

public UpdateReferenceListRequest.Builder clearReferenceList()

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateReferenceListRequest.Builder

clearUpdateMask()

public UpdateReferenceListRequest.Builder clearUpdateMask()

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateReferenceListRequest.Builder

getDefaultInstanceForType()

public UpdateReferenceListRequest getDefaultInstanceForType()
Returns
Type Description
UpdateReferenceListRequest

getDescriptorForType()

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

getReferenceList()

public ReferenceList getReferenceList()

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceList

The referenceList.

getReferenceListBuilder()

public ReferenceList.Builder getReferenceListBuilder()

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceList.Builder

getReferenceListOrBuilder()

public ReferenceListOrBuilder getReferenceListOrBuilder()

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceListOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasReferenceList()

public boolean hasReferenceList()

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the referenceList field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.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

mergeFrom(UpdateReferenceListRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReferenceList(ReferenceList value)

public UpdateReferenceListRequest.Builder mergeReferenceList(ReferenceList value)

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReferenceList
Returns
Type Description
UpdateReferenceListRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateReferenceListRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReferenceListRequest.Builder

setReferenceList(ReferenceList value)

public UpdateReferenceListRequest.Builder setReferenceList(ReferenceList value)

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReferenceList
Returns
Type Description
UpdateReferenceListRequest.Builder

setReferenceList(ReferenceList.Builder builderForValue)

public UpdateReferenceListRequest.Builder setReferenceList(ReferenceList.Builder builderForValue)

Required. The reference list to update.

The reference list's name field is used to identify the reference list to update. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

.google.cloud.chronicle.v1.ReferenceList reference_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReferenceList.Builder
Returns
Type Description
UpdateReferenceListRequest.Builder

setUpdateMask(FieldMask value)

public UpdateReferenceListRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReferenceListRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateReferenceListRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateReferenceListRequest.Builder