Class ParamValue (0.1.0)

public final class ParamValue extends GeneratedMessageV3 implements ParamValueOrBuilder

Possible parameter value types.

Protobuf type google.cloud.cloudsecuritycompliance.v1.ParamValue

Implements

ParamValueOrBuilder

Static 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
Overrides

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

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.

getOneofValueOrBuilder()

public ParameterOrBuilder getOneofValueOrBuilder()

Represents 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>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringListValue()

public StringList getStringListValue()

Represents a repeated string.

.google.cloud.cloudsecuritycompliance.v1.StringList string_list_value = 5;

Returns
Type Description
StringList

The stringListValue.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ParamValue.Builder newBuilderForType()
Returns
Type Description
ParamValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParamValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ParamValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ParamValue.Builder toBuilder()
Returns
Type Description
ParamValue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException