Send feedback
Class Parameter.Builder (3.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.40.0 keyboard_arrow_down
public static final class Parameter . Builder extends GeneratedMessageV3 . Builder<Parameter . Builder > implements ParameterOrBuilder
Definition for extended entitlement parameters.
Protobuf type google.cloud.channel.v1.Parameter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Parameter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public Parameter buildPartial ()
clear()
public Parameter . Builder clear ()
Overrides
clearEditable()
public Parameter . Builder clearEditable ()
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];
clearField(Descriptors.FieldDescriptor field)
public Parameter . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearName()
public Parameter . Builder clearName ()
Name of the parameter.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Parameter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValue()
public Parameter . Builder clearValue ()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
clone()
public Parameter . Builder clone ()
Overrides
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
getValue()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Returns Type Description Value
The value.
getValueBuilder()
public Value . Builder getValueBuilder ()
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Parameter other)
public Parameter . Builder mergeFrom ( Parameter other )
public Parameter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Parameter . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Parameter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeValue(Value value)
public Parameter . Builder mergeValue ( Value value )
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Parameter Name Description value
Value
setEditable(boolean value)
public Parameter . Builder setEditable ( boolean value )
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];
Parameter Name Description value
boolean
The editable to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Parameter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setName(String value)
public Parameter . Builder setName ( String value )
Name of the parameter.
string name = 1;
Parameter Name Description value
String
The name to set.
setNameBytes(ByteString value)
public Parameter . Builder setNameBytes ( ByteString value )
Name of the parameter.
string name = 1;
Parameter Name Description value
ByteString
The bytes for name to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Parameter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Parameter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(Value value)
public Parameter . Builder setValue ( Value value )
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Parameter Name Description value
Value
setValue(Value.Builder builderForValue)
public Parameter . Builder setValue ( Value . Builder builderForValue )
Value of the parameter.
.google.cloud.channel.v1.Value value = 2;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]