public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilderData type and value of a parameter.
Protobuf type google.cloud.channel.v1.Value
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Value.BuilderImplements
ValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Value.Builder |
build()
public Value build()| Type | Description |
| Value |
buildPartial()
public Value buildPartial()| Type | Description |
| Value |
clear()
public Value.Builder clear()| Type | Description |
| Value.Builder |
clearBoolValue()
public Value.Builder clearBoolValue()Represents a boolean value.
bool bool_value = 5;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearDoubleValue()
public Value.Builder clearDoubleValue()Represents a double value.
double double_value = 3;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Value.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Value.Builder |
clearInt64Value()
public Value.Builder clearInt64Value()Represents an int64 value.
int64 int64_value = 1;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearKind()
public Value.Builder clearKind()| Type | Description |
| Value.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Value.Builder |
clearProtoValue()
public Value.Builder clearProtoValue()Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Type | Description |
| Value.Builder |
clearStringValue()
public Value.Builder clearStringValue()Represents a string value.
string string_value = 2;
| Type | Description |
| Value.Builder | This builder for chaining. |
clone()
public Value.Builder clone()| Type | Description |
| Value.Builder |
getBoolValue()
public boolean getBoolValue()Represents a boolean value.
bool bool_value = 5;
| Type | Description |
| boolean | The boolValue. |
getDefaultInstanceForType()
public Value getDefaultInstanceForType()| Type | Description |
| Value |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDoubleValue()
public double getDoubleValue()Represents a double value.
double double_value = 3;
| Type | Description |
| double | The doubleValue. |
getInt64Value()
public long getInt64Value()Represents an int64 value.
int64 int64_value = 1;
| Type | Description |
| long | The int64Value. |
getKindCase()
public Value.KindCase getKindCase()| Type | Description |
| Value.KindCase |
getProtoValue()
public Any getProtoValue()Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Type | Description |
| Any | The protoValue. |
getProtoValueBuilder()
public Any.Builder getProtoValueBuilder()Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Type | Description |
| Builder |
getProtoValueOrBuilder()
public AnyOrBuilder getProtoValueOrBuilder()Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Type | Description |
| AnyOrBuilder |
getStringValue()
public String getStringValue()Represents a string value.
string string_value = 2;
| Type | Description |
| String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()Represents a string value.
string string_value = 2;
| Type | Description |
| ByteString | The bytes for stringValue. |
hasBoolValue()
public boolean hasBoolValue()Represents a boolean value.
bool bool_value = 5;
| Type | Description |
| boolean | Whether the boolValue field is set. |
hasDoubleValue()
public boolean hasDoubleValue()Represents a double value.
double double_value = 3;
| Type | Description |
| boolean | Whether the doubleValue field is set. |
hasInt64Value()
public boolean hasInt64Value()Represents an int64 value.
int64 int64_value = 1;
| Type | Description |
| boolean | Whether the int64Value field is set. |
hasProtoValue()
public boolean hasProtoValue()Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Type | Description |
| boolean | Whether the protoValue field is set. |
hasStringValue()
public boolean hasStringValue()Represents a string value.
string string_value = 2;
| Type | Description |
| boolean | Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Value other)
public Value.Builder mergeFrom(Value other)| Name | Description |
| other | Value |
| Type | Description |
| Value.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Value.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Value.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Value.Builder |
mergeProtoValue(Any value)
public Value.Builder mergeProtoValue(Any value)Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Name | Description |
| value | Any |
| Type | Description |
| Value.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Value.Builder |
setBoolValue(boolean value)
public Value.Builder setBoolValue(boolean value)Represents a boolean value.
bool bool_value = 5;
| Name | Description |
| value | booleanThe boolValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setDoubleValue(double value)
public Value.Builder setDoubleValue(double value)Represents a double value.
double double_value = 3;
| Name | Description |
| value | doubleThe doubleValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Value.Builder |
setInt64Value(long value)
public Value.Builder setInt64Value(long value)Represents an int64 value.
int64 int64_value = 1;
| Name | Description |
| value | longThe int64Value to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setProtoValue(Any value)
public Value.Builder setProtoValue(Any value)Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Name | Description |
| value | Any |
| Type | Description |
| Value.Builder |
setProtoValue(Any.Builder builderForValue)
public Value.Builder setProtoValue(Any.Builder builderForValue)Represents an 'Any' proto value.
.google.protobuf.Any proto_value = 4;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| Value.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Value.Builder |
setStringValue(String value)
public Value.Builder setStringValue(String value)Represents a string value.
string string_value = 2;
| Name | Description |
| value | StringThe stringValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public Value.Builder setStringValueBytes(ByteString value)Represents a string value.
string string_value = 2;
| Name | Description |
| value | ByteStringThe bytes for stringValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Value.Builder |