Class UpdateGeneratorRequest.Builder (4.61.0)

public static final class UpdateGeneratorRequest.Builder extends GeneratedMessageV3.Builder<UpdateGeneratorRequest.Builder> implements UpdateGeneratorRequestOrBuilder

Request of UpdateGenerator.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateGeneratorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGeneratorRequest build()
Returns
Type Description
UpdateGeneratorRequest

buildPartial()

public UpdateGeneratorRequest buildPartial()
Returns
Type Description
UpdateGeneratorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenerator()

public UpdateGeneratorRequest.Builder clearGenerator()

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGeneratorRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateGeneratorRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateGeneratorRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateGeneratorRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGeneratorRequest

getDescriptorForType()

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

getGenerator()

public Generator getGenerator()

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Generator

The generator.

getGeneratorBuilder()

public Generator.Builder getGeneratorBuilder()

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Generator.Builder

getGeneratorOrBuilder()

public GeneratorOrBuilder getGeneratorOrBuilder()

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GeneratorOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasGenerator()

public boolean hasGenerator()

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generator field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

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(UpdateGeneratorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenerator(Generator value)

public UpdateGeneratorRequest.Builder mergeGenerator(Generator value)

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Generator
Returns
Type Description
UpdateGeneratorRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateGeneratorRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGeneratorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerator(Generator value)

public UpdateGeneratorRequest.Builder setGenerator(Generator value)

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Generator
Returns
Type Description
UpdateGeneratorRequest.Builder

setGenerator(Generator.Builder builderForValue)

public UpdateGeneratorRequest.Builder setGenerator(Generator.Builder builderForValue)

Required. The generator to update. The name field of generator is to identify the generator to update.

.google.cloud.dialogflow.v2beta1.Generator generator = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Generator.Builder
Returns
Type Description
UpdateGeneratorRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateGeneratorRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGeneratorRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGeneratorRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGeneratorRequest.Builder