public final class ParamValue extends GeneratedMessage implements ParamValueOrBuilderThe possible parameter value types.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ParamValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ParamValueImplements
ParamValueOrBuilderStatic Fields
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NUMBER_VALUE_FIELD_NUMBER
public static final int NUMBER_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ONEOF_VALUE_FIELD_NUMBER
public static final int ONEOF_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STRING_LIST_VALUE_FIELD_NUMBER
public static final int STRING_LIST_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ParamValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ParamValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
newBuilder(ParamValue prototype)
public static ParamValue.Builder newBuilder(ParamValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ParamValue |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static ParamValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ParamValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ParamValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ParamValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ParamValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ParamValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ParamValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParamValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ParamValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ParamValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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. |
getOneofValueOrBuilder()
public ParameterOrBuilder getOneofValueOrBuilder()Sub-parameter values.
.google.cloud.cloudsecuritycompliance.v1.Parameter oneof_value = 7;
| Returns | |
|---|---|
| Type | Description |
ParameterOrBuilder |
|
getParserForType()
public Parser<ParamValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ParamValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStringListValue()
public StringList getStringListValue()A repeated string.
.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;
| Returns | |
|---|---|
| Type | Description |
StringList |
The stringListValue. |
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ParamValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ParamValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
toBuilder()
public ParamValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ParamValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|