Class UpdatePlaybookRequest.Builder (0.52.0)

public static final class UpdatePlaybookRequest.Builder extends GeneratedMessageV3.Builder<UpdatePlaybookRequest.Builder> implements UpdatePlaybookRequestOrBuilder

The request message for Playbooks.UpdatePlaybook.

Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdatePlaybookRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePlaybookRequest build()
Returns
Type Description
UpdatePlaybookRequest

buildPartial()

public UpdatePlaybookRequest buildPartial()
Returns
Type Description
UpdatePlaybookRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlaybook()

public UpdatePlaybookRequest.Builder clearPlaybook()

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdatePlaybookRequest.Builder

clearUpdateMask()

public UpdatePlaybookRequest.Builder clearUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdatePlaybookRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePlaybookRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePlaybookRequest

getDescriptorForType()

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

getPlaybook()

public Playbook getPlaybook()

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Playbook

The playbook.

getPlaybookBuilder()

public Playbook.Builder getPlaybookBuilder()

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Playbook.Builder

getPlaybookOrBuilder()

public PlaybookOrBuilder getPlaybookOrBuilder()

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PlaybookOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasPlaybook()

public boolean hasPlaybook()

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the playbook field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.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

mergeFrom(UpdatePlaybookRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePlaybook(Playbook value)

public UpdatePlaybookRequest.Builder mergePlaybook(Playbook value)

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Playbook
Returns
Type Description
UpdatePlaybookRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdatePlaybookRequest.Builder mergeUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePlaybookRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPlaybook(Playbook value)

public UpdatePlaybookRequest.Builder setPlaybook(Playbook value)

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Playbook
Returns
Type Description
UpdatePlaybookRequest.Builder

setPlaybook(Playbook.Builder builderForValue)

public UpdatePlaybookRequest.Builder setPlaybook(Playbook.Builder builderForValue)

Required. The playbook to update.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Playbook.Builder
Returns
Type Description
UpdatePlaybookRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdatePlaybookRequest.Builder setUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePlaybookRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePlaybookRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePlaybookRequest.Builder