public static final class UpdateExampleRequest.Builder extends GeneratedMessageV3.Builder<UpdateExampleRequest.Builder> implements UpdateExampleRequestOrBuilder
The request message for
Examples.UpdateExample.
Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateExampleRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateExampleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateExampleRequest build()
buildPartial()
public UpdateExampleRequest buildPartial()
clear()
public UpdateExampleRequest.Builder clear()
Overrides
clearExample()
public UpdateExampleRequest.Builder clearExample()
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateExampleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateExampleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateExampleRequest.Builder clearUpdateMask()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateExampleRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateExampleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExample()
public Example getExample()
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Example |
The example.
|
getExampleBuilder()
public Example.Builder getExampleBuilder()
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
getExampleOrBuilder()
public ExampleOrBuilder getExampleOrBuilder()
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
hasExample()
public boolean hasExample()
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the example field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExample(Example value)
public UpdateExampleRequest.Builder mergeExample(Example value)
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Example
|
mergeFrom(UpdateExampleRequest other)
public UpdateExampleRequest.Builder mergeFrom(UpdateExampleRequest other)
public UpdateExampleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateExampleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExampleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateExampleRequest.Builder mergeUpdateMask(FieldMask value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
setExample(Example value)
public UpdateExampleRequest.Builder setExample(Example value)
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Example
|
setExample(Example.Builder builderForValue)
public UpdateExampleRequest.Builder setExample(Example.Builder builderForValue)
Required. The example to update.
.google.cloud.dialogflow.cx.v3beta1.Example example = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateExampleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateExampleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExampleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateExampleRequest.Builder setUpdateMask(FieldMask value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateExampleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|