Class UpdateGeneratorRequest.Builder (0.47.0)

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

The request message for Generators.UpdateGenerator.

Protobuf type google.cloud.dialogflow.cx.v3.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.

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

Returns
Type Description
UpdateGeneratorRequest.Builder

clearLanguageCode()

public UpdateGeneratorRequest.Builder clearLanguageCode()

The language to list generators for.

string language_code = 2;

Returns
Type Description
UpdateGeneratorRequest.Builder

This builder for chaining.

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

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

.google.protobuf.FieldMask update_mask = 3;

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.

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

Returns
Type Description
Generator

The generator.

getGeneratorBuilder()

public Generator.Builder getGeneratorBuilder()

Required. The generator to update.

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

Returns
Type Description
Generator.Builder

getGeneratorOrBuilder()

public GeneratorOrBuilder getGeneratorOrBuilder()

Required. The generator to update.

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

Returns
Type Description
GeneratorOrBuilder

getLanguageCode()

public String getLanguageCode()

The language to list generators for.

string language_code = 2;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

The language to list generators for.

string language_code = 2;

Returns
Type Description
ByteString

The bytes for languageCode.

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 = 3;

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 = 3;

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 = 3;

Returns
Type Description
FieldMaskOrBuilder

hasGenerator()

public boolean hasGenerator()

Required. The generator to update.

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

Returns
Type Description
boolean

Whether the generator 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 = 3;

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.

.google.cloud.dialogflow.cx.v3.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)

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

.google.protobuf.FieldMask update_mask = 3;

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.

.google.cloud.dialogflow.cx.v3.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.

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

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

setLanguageCode(String value)

public UpdateGeneratorRequest.Builder setLanguageCode(String value)

The language to list generators for.

string language_code = 2;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
UpdateGeneratorRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public UpdateGeneratorRequest.Builder setLanguageCodeBytes(ByteString value)

The language to list generators for.

string language_code = 2;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
UpdateGeneratorRequest.Builder

This builder for chaining.

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)

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

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGeneratorRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGeneratorRequest.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 = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGeneratorRequest.Builder