Class UpdateViewRequest.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

build()

public UpdateViewRequest build()
Returns
TypeDescription
UpdateViewRequest

buildPartial()

public UpdateViewRequest buildPartial()
Returns
TypeDescription
UpdateViewRequest

clear()

public UpdateViewRequest.Builder clear()
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

clearUpdateMask()

public UpdateViewRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateViewRequest.Builder

clearView()

public UpdateViewRequest.Builder clearView()

Required. The new view.

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

Returns
TypeDescription
UpdateViewRequest.Builder

clone()

public UpdateViewRequest.Builder clone()
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateViewRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateViewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

getView()

public View getView()

Required. The new view.

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

Returns
TypeDescription
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
TypeDescription
View.Builder

getViewOrBuilder()

public ViewOrBuilder getViewOrBuilder()

Required. The new view.

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

Returns
TypeDescription
ViewOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the view field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateViewRequest other)

public UpdateViewRequest.Builder mergeFrom(UpdateViewRequest other)
Parameter
NameDescription
otherUpdateViewRequest
Returns
TypeDescription
UpdateViewRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateViewRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueView
Returns
TypeDescription
UpdateViewRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

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

public UpdateViewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateViewRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueView
Returns
TypeDescription
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
NameDescription
builderForValueView.Builder
Returns
TypeDescription
UpdateViewRequest.Builder