Class UpdateViewRequest.Builder (2.45.0)

public static final class UpdateViewRequest.Builder extends GeneratedMessageV3.Builder<UpdateViewRequest.Builder> implements UpdateViewRequestOrBuilder

The request to update a view.

Protobuf type google.cloud.contactcenterinsights.v1.UpdateViewRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateViewRequest build()
Returns
Type Description
UpdateViewRequest

buildPartial()

public UpdateViewRequest buildPartial()
Returns
Type Description
UpdateViewRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateViewRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateViewRequest.Builder

clearView()

public UpdateViewRequest.Builder clearView()

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateViewRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateViewRequest getDefaultInstanceForType()
Returns
Type Description
UpdateViewRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getView()

public View getView()

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
View

The view.

getViewBuilder()

public View.Builder getViewBuilder()

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
View.Builder

getViewOrBuilder()

public ViewOrBuilder getViewOrBuilder()

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ViewOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasView()

public boolean hasView()

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the view field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateViewRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateViewRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateViewRequest.Builder

mergeView(View value)

public UpdateViewRequest.Builder mergeView(View value)

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value View
Returns
Type Description
UpdateViewRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateViewRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateViewRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateViewRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateViewRequest.Builder

setView(View value)

public UpdateViewRequest.Builder setView(View value)

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value View
Returns
Type Description
UpdateViewRequest.Builder

setView(View.Builder builderForValue)

public UpdateViewRequest.Builder setView(View.Builder builderForValue)

Required. The new view.

.google.cloud.contactcenterinsights.v1.View view = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue View.Builder
Returns
Type Description
UpdateViewRequest.Builder