public static final class ParamValue.Builder extends GeneratedMessage.Builder<ParamValue.Builder> implements ParamValueOrBuilderThe possible parameter value types.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ParamValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ParamValue.BuilderImplements
ParamValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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()A boolean value.
bool bool_value = 4;
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearKind()
public ParamValue.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearNumberValue()
public ParamValue.Builder clearNumberValue()A double value.
double number_value = 6;
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearOneofValue()
public ParamValue.Builder clearOneofValue()Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearStringListValue()
public ParamValue.Builder clearStringListValue()A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearStringValue()
public ParamValue.Builder clearStringValue()A string value.
string string_value = 3;
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
getBoolValue()
public boolean getBoolValue()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()A double value.
double number_value = 6;
| Returns | |
|---|---|
| Type | Description |
double |
The numberValue. |
getOneofValue()
public Parameter getOneofValue()Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Returns | |
|---|---|
| Type | Description |
Parameter |
The oneofValue. |
getOneofValueBuilder()
public Parameter.Builder getOneofValueBuilder()Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getOneofValueOrBuilder()
public ParameterOrBuilder getOneofValueOrBuilder()Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Returns | |
|---|---|
| Type | Description |
ParameterOrBuilder |
|
getStringListValue()
public StringList getStringListValue()A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Returns | |
|---|---|
| Type | Description |
StringList |
The stringListValue. |
getStringListValueBuilder()
public StringList.Builder getStringListValueBuilder()A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Returns | |
|---|---|
| Type | Description |
StringList.Builder |
|
getStringListValueOrBuilder()
public StringListOrBuilder getStringListValueOrBuilder()A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Returns | |
|---|---|
| Type | Description |
StringListOrBuilder |
|
getStringValue()
public String getStringValue()A string value.
string string_value = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()A string value.
string string_value = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stringValue. |
hasBoolValue()
public boolean hasBoolValue()A boolean value.
bool bool_value = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the boolValue field is set. |
hasNumberValue()
public boolean hasNumberValue()A double value.
double number_value = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the numberValue field is set. |
hasOneofValue()
public boolean hasOneofValue()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()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()A string value.
string string_value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.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)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)A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringList |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setBoolValue(boolean value)
public ParamValue.Builder setBoolValue(boolean value)A boolean value.
bool bool_value = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe boolValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
setNumberValue(double value)
public ParamValue.Builder setNumberValue(double value)A double value.
double number_value = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe numberValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
setOneofValue(Parameter value)
public ParamValue.Builder setOneofValue(Parameter value)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)Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setStringListValue(StringList value)
public ParamValue.Builder setStringListValue(StringList value)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)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)A string value.
string string_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
public ParamValue.Builder setStringValueBytes(ByteString value)A string value.
string string_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |