public static final class ParamValue.Builder extends GeneratedMessageV3.Builder<ParamValue.Builder> implements ParamValueOrBuilder
Possible parameter value types.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ParamValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ParamValue.BuilderImplements
ParamValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParamValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
build()
public ParamValue build()
Returns | |
---|---|
Type | Description |
ParamValue |
buildPartial()
public ParamValue buildPartial()
Returns | |
---|---|
Type | Description |
ParamValue |
clear()
public ParamValue.Builder clear()
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearBoolValue()
public ParamValue.Builder clearBoolValue()
Represents a boolean value.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ParamValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearKind()
public ParamValue.Builder clearKind()
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearNumberValue()
public ParamValue.Builder clearNumberValue()
Represents a double value.
double number_value = 6;
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ParamValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearOneofValue()
public ParamValue.Builder clearOneofValue()
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearStringListValue()
public ParamValue.Builder clearStringListValue()
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
clearStringValue()
public ParamValue.Builder clearStringValue()
Represents a string value.
string string_value = 3;
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
clone()
public ParamValue.Builder clone()
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
getBoolValue()
public boolean getBoolValue()
Represents a boolean value.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
boolean |
The boolValue. |
getDefaultInstanceForType()
public ParamValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ParamValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKindCase()
public ParamValue.KindCase getKindCase()
Returns | |
---|---|
Type | Description |
ParamValue.KindCase |
getNumberValue()
public double getNumberValue()
Represents a double value.
double number_value = 6;
Returns | |
---|---|
Type | Description |
double |
The numberValue. |
getOneofValue()
public Parameter getOneofValue()
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Returns | |
---|---|
Type | Description |
Parameter |
The oneofValue. |
getOneofValueBuilder()
public Parameter.Builder getOneofValueBuilder()
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Returns | |
---|---|
Type | Description |
Parameter.Builder |
getOneofValueOrBuilder()
public ParameterOrBuilder getOneofValueOrBuilder()
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Returns | |
---|---|
Type | Description |
ParameterOrBuilder |
getStringListValue()
public StringList getStringListValue()
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Returns | |
---|---|
Type | Description |
StringList |
The stringListValue. |
getStringListValueBuilder()
public StringList.Builder getStringListValueBuilder()
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Returns | |
---|---|
Type | Description |
StringList.Builder |
getStringListValueOrBuilder()
public StringListOrBuilder getStringListValueOrBuilder()
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Returns | |
---|---|
Type | Description |
StringListOrBuilder |
getStringValue()
public String getStringValue()
Represents a string value.
string string_value = 3;
Returns | |
---|---|
Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
Represents a string value.
string string_value = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for stringValue. |
hasBoolValue()
public boolean hasBoolValue()
Represents a boolean value.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the boolValue field is set. |
hasNumberValue()
public boolean hasNumberValue()
Represents a double value.
double number_value = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the numberValue field is set. |
hasOneofValue()
public boolean hasOneofValue()
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the oneofValue field is set. |
hasStringListValue()
public boolean hasStringListValue()
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringListValue field is set. |
hasStringValue()
public boolean hasStringValue()
Represents a string value.
string string_value = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ParamValue other)
public ParamValue.Builder mergeFrom(ParamValue other)
Parameter | |
---|---|
Name | Description |
other |
ParamValue |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ParamValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ParamValue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
mergeOneofValue(Parameter value)
public ParamValue.Builder mergeOneofValue(Parameter value)
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Parameter | |
---|---|
Name | Description |
value |
Parameter |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
mergeStringListValue(StringList value)
public ParamValue.Builder mergeStringListValue(StringList value)
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Parameter | |
---|---|
Name | Description |
value |
StringList |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParamValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setBoolValue(boolean value)
public ParamValue.Builder setBoolValue(boolean value)
Represents a boolean value.
bool bool_value = 4;
Parameter | |
---|---|
Name | Description |
value |
boolean The boolValue to set. |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ParamValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setNumberValue(double value)
public ParamValue.Builder setNumberValue(double value)
Represents a double value.
double number_value = 6;
Parameter | |
---|---|
Name | Description |
value |
double The numberValue to set. |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
setOneofValue(Parameter value)
public ParamValue.Builder setOneofValue(Parameter value)
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Parameter | |
---|---|
Name | Description |
value |
Parameter |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setOneofValue(Parameter.Builder builderForValue)
public ParamValue.Builder setOneofValue(Parameter.Builder builderForValue)
Represents sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
Parameter.Builder |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParamValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setStringListValue(StringList value)
public ParamValue.Builder setStringListValue(StringList value)
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Parameter | |
---|---|
Name | Description |
value |
StringList |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setStringListValue(StringList.Builder builderForValue)
public ParamValue.Builder setStringListValue(StringList.Builder builderForValue)
Represents a repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
StringList.Builder |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
setStringValue(String value)
public ParamValue.Builder setStringValue(String value)
Represents a string value.
string string_value = 3;
Parameter | |
---|---|
Name | Description |
value |
String The stringValue to set. |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
public ParamValue.Builder setStringValueBytes(ByteString value)
Represents a string value.
string string_value = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ParamValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ParamValue.Builder |