Class ChangeParametersRequest.Builder (3.59.0)

public static final class ChangeParametersRequest.Builder extends GeneratedMessageV3.Builder<ChangeParametersRequest.Builder> implements ChangeParametersRequestOrBuilder

Request message for [CloudChannelService.ChangeParametersRequest][].

Protobuf type google.cloud.channel.v1.ChangeParametersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllParameters(Iterable<? extends Parameter> values)

public ChangeParametersRequest.Builder addAllParameters(Iterable<? extends Parameter> values)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.Parameter>
Returns
Type Description
ChangeParametersRequest.Builder

addParameters(Parameter value)

public ChangeParametersRequest.Builder addParameters(Parameter value)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Parameter
Returns
Type Description
ChangeParametersRequest.Builder

addParameters(Parameter.Builder builderForValue)

public ChangeParametersRequest.Builder addParameters(Parameter.Builder builderForValue)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Parameter.Builder
Returns
Type Description
ChangeParametersRequest.Builder

addParameters(int index, Parameter value)

public ChangeParametersRequest.Builder addParameters(int index, Parameter value)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ChangeParametersRequest.Builder

addParameters(int index, Parameter.Builder builderForValue)

public ChangeParametersRequest.Builder addParameters(int index, Parameter.Builder builderForValue)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ChangeParametersRequest.Builder

addParametersBuilder()

public Parameter.Builder addParametersBuilder()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Parameter.Builder

addParametersBuilder(int index)

public Parameter.Builder addParametersBuilder(int index)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChangeParametersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

build()

public ChangeParametersRequest build()
Returns
Type Description
ChangeParametersRequest

buildPartial()

public ChangeParametersRequest buildPartial()
Returns
Type Description
ChangeParametersRequest

clear()

public ChangeParametersRequest.Builder clear()
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ChangeParametersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

clearName()

public ChangeParametersRequest.Builder clearName()

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ChangeParametersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

clearParameters()

public ChangeParametersRequest.Builder clearParameters()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChangeParametersRequest.Builder

clearPurchaseOrderId()

public ChangeParametersRequest.Builder clearPurchaseOrderId()

Optional. Purchase order ID provided by the reseller.

string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

clearRequestId()

public ChangeParametersRequest.Builder clearRequestId()

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

clone()

public ChangeParametersRequest.Builder clone()
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

getDefaultInstanceForType()

public ChangeParametersRequest getDefaultInstanceForType()
Returns
Type Description
ChangeParametersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParameters(int index)

public Parameter getParameters(int index)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getParametersBuilder(int index)

public Parameter.Builder getParametersBuilder(int index)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Parameter.Builder

getParametersBuilderList()

public List<Parameter.Builder> getParametersBuilderList()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getParametersList()

public List<Parameter> getParametersList()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public ParameterOrBuilder getParametersOrBuilder(int index)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ParameterOrBuilder>

getPurchaseOrderId()

public String getPurchaseOrderId()

Optional. Purchase order ID provided by the reseller.

string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The purchaseOrderId.

getPurchaseOrderIdBytes()

public ByteString getPurchaseOrderIdBytes()

Optional. Purchase order ID provided by the reseller.

string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for purchaseOrderId.

getRequestId()

public String getRequestId()

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChangeParametersRequest other)

public ChangeParametersRequest.Builder mergeFrom(ChangeParametersRequest other)
Parameter
Name Description
other ChangeParametersRequest
Returns
Type Description
ChangeParametersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChangeParametersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeParametersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChangeParametersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChangeParametersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

removeParameters(int index)

public ChangeParametersRequest.Builder removeParameters(int index)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChangeParametersRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ChangeParametersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

setName(String value)

public ChangeParametersRequest.Builder setName(String value)

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ChangeParametersRequest.Builder setNameBytes(ByteString value)

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setParameters(int index, Parameter value)

public ChangeParametersRequest.Builder setParameters(int index, Parameter value)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Parameter
Returns
Type Description
ChangeParametersRequest.Builder

setParameters(int index, Parameter.Builder builderForValue)

public ChangeParametersRequest.Builder setParameters(int index, Parameter.Builder builderForValue)

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Parameter.Builder
Returns
Type Description
ChangeParametersRequest.Builder

setPurchaseOrderId(String value)

public ChangeParametersRequest.Builder setPurchaseOrderId(String value)

Optional. Purchase order ID provided by the reseller.

string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The purchaseOrderId to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setPurchaseOrderIdBytes(ByteString value)

public ChangeParametersRequest.Builder setPurchaseOrderIdBytes(ByteString value)

Optional. Purchase order ID provided by the reseller.

string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for purchaseOrderId to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ChangeParametersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ChangeParametersRequest.Builder
Overrides

setRequestId(String value)

public ChangeParametersRequest.Builder setRequestId(String value)

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ChangeParametersRequest.Builder setRequestIdBytes(ByteString value)

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ChangeParametersRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ChangeParametersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChangeParametersRequest.Builder
Overrides