public final class Parameter extends GeneratedMessageV3 implements ParameterOrBuilder
Definition for extended entitlement parameters.
Protobuf type google.cloud.channel.v1.Parameter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
EDITABLE_FIELD_NUMBER
public static final int EDITABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Parameter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Parameter.Builder newBuilder()
newBuilder(Parameter prototype)
public static Parameter.Builder newBuilder(Parameter prototype)
public static Parameter parseDelimitedFrom(InputStream input)
public static Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Parameter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Parameter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(CodedInputStream input)
public static Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(InputStream input)
public static Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Parameter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Parameter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Parameter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Parameter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Parameter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides