Class Parameter (3.19.0)

public final class Parameter extends GeneratedMessageV3 implements ParameterOrBuilder

Definition for extended entitlement parameters.

Protobuf type google.cloud.channel.v1.Parameter

Implements

ParameterOrBuilder

Static Fields

EDITABLE_FIELD_NUMBER

public static final int EDITABLE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Parameter getDefaultInstance()
Returns
TypeDescription
Parameter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Parameter.Builder newBuilder()
Returns
TypeDescription
Parameter.Builder

newBuilder(Parameter prototype)

public static Parameter.Builder newBuilder(Parameter prototype)
Parameter
NameDescription
prototypeParameter
Returns
TypeDescription
Parameter.Builder

parseDelimitedFrom(InputStream input)

public static Parameter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Parameter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Parameter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Parameter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Parameter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Parameter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Parameter> parser()
Returns
TypeDescription
Parser<Parameter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Parameter getDefaultInstanceForType()
Returns
TypeDescription
Parameter

getEditable()

public boolean getEditable()

Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.

bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The editable.

getName()

public String getName()

Name of the parameter.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the parameter.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Parameter> getParserForType()
Returns
TypeDescription
Parser<Parameter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public Value getValue()

Value of the parameter.

.google.cloud.channel.v1.Value value = 2;

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of the parameter.

.google.cloud.channel.v1.Value value = 2;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of the parameter.

.google.cloud.channel.v1.Value value = 2;

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Parameter.Builder newBuilderForType()
Returns
TypeDescription
Parameter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Parameter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Parameter.Builder toBuilder()
Returns
TypeDescription
Parameter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException