public final class Parameter extends GeneratedMessageV3 implements ParameterOrBuilder
Definition for extended entitlement parameters.
Protobuf type google.cloud.channel.v1.Parameter
Fields
EDITABLE_FIELD_NUMBER
public static final int EDITABLE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Parameter getDefaultInstance()
Returns
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Type | Description |
boolean | The editable.
|
getName()
Name of the parameter.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the parameter.
string name = 1;
Returns
getParserForType()
public Parser<Parameter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Returns
Type | Description |
Value | The value.
|
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Returns
hasValue()
public boolean hasValue()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Returns
Type | Description |
boolean | Whether the value field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Parameter.Builder newBuilder()
Returns
newBuilder(Parameter prototype)
public static Parameter.Builder newBuilder(Parameter prototype)
Parameter
Returns
newBuilderForType()
public Parameter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Parameter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Parameter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Parameter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parameter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parameter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Parameter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Parameter> parser()
Returns
toBuilder()
public Parameter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions