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()Optional. A boolean value.
bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearKind()
public ParamValue.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearNumberValue()
public ParamValue.Builder clearNumberValue()Optional. A double value.
double number_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
clearOneofValue()
public ParamValue.Builder clearOneofValue()Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearStringListValue()
public ParamValue.Builder clearStringListValue()Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
clearStringValue()
public ParamValue.Builder clearStringValue()Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |
getBoolValue()
public boolean getBoolValue()Optional. A boolean value.
bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];
| 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()Optional. A double value.
double number_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The numberValue. |
getOneofValue()
public Parameter getOneofValue()Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter |
The oneofValue. |
getOneofValueBuilder()
public Parameter.Builder getOneofValueBuilder()Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getOneofValueOrBuilder()
public ParameterOrBuilder getOneofValueOrBuilder()Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterOrBuilder |
|
getStringListValue()
public StringList getStringListValue()Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StringList |
The stringListValue. |
getStringListValueBuilder()
public StringList.Builder getStringListValueBuilder()Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StringList.Builder |
|
getStringListValueOrBuilder()
public StringListOrBuilder getStringListValueOrBuilder()Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StringListOrBuilder |
|
getStringValue()
public String getStringValue()Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stringValue. |
hasBoolValue()
public boolean hasBoolValue()Optional. A boolean value.
bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the boolValue field is set. |
hasNumberValue()
public boolean hasNumberValue()Optional. A double value.
double number_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the numberValue field is set. |
hasOneofValue()
public boolean hasOneofValue()Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the oneofValue field is set. |
hasStringListValue()
public boolean hasStringListValue()Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the stringListValue field is set. |
hasStringValue()
public boolean hasStringValue()Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
mergeStringListValue(StringList value)
public ParamValue.Builder mergeStringListValue(StringList value)Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringList |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setBoolValue(boolean value)
public ParamValue.Builder setBoolValue(boolean value)Optional. A boolean value.
bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. A double value.
double number_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setOneofValue(Parameter.Builder builderForValue)
public ParamValue.Builder setOneofValue(Parameter.Builder builderForValue)Optional. Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setStringListValue(StringList value)
public ParamValue.Builder setStringListValue(StringList value)Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringList |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setStringListValue(StringList.Builder builderForValue)
public ParamValue.Builder setStringListValue(StringList.Builder builderForValue)Optional. A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StringList.Builder |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
setStringValue(String value)
public ParamValue.Builder setStringValue(String value)Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. A string value.
string string_value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
This builder for chaining. |