- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.5
public static final class ModifyOrderRequest.Builder extends GeneratedMessageV3.Builder<ModifyOrderRequest.Builder> implements ModifyOrderRequestOrBuilder
Request message for ConsumerProcurementService.ModifyOrder.
Protobuf type google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModifyOrderRequest.BuilderImplements
ModifyOrderRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllModifications(Iterable<? extends ModifyOrderRequest.Modification> values)
public ModifyOrderRequest.Builder addAllModifications(Iterable<? extends ModifyOrderRequest.Modification> values)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification> |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
addModifications(ModifyOrderRequest.Modification value)
public ModifyOrderRequest.Builder addModifications(ModifyOrderRequest.Modification value)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ModifyOrderRequest.Modification |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
addModifications(ModifyOrderRequest.Modification.Builder builderForValue)
public ModifyOrderRequest.Builder addModifications(ModifyOrderRequest.Modification.Builder builderForValue)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ModifyOrderRequest.Modification.Builder |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
addModifications(int index, ModifyOrderRequest.Modification value)
public ModifyOrderRequest.Builder addModifications(int index, ModifyOrderRequest.Modification value)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ModifyOrderRequest.Modification |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
addModifications(int index, ModifyOrderRequest.Modification.Builder builderForValue)
public ModifyOrderRequest.Builder addModifications(int index, ModifyOrderRequest.Modification.Builder builderForValue)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ModifyOrderRequest.Modification.Builder |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
addModificationsBuilder()
public ModifyOrderRequest.Modification.Builder addModificationsBuilder()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
addModificationsBuilder(int index)
public ModifyOrderRequest.Modification.Builder addModificationsBuilder(int index)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModifyOrderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
build()
public ModifyOrderRequest build()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest |
buildPartial()
public ModifyOrderRequest buildPartial()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest |
clear()
public ModifyOrderRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
clearDisplayName()
public ModifyOrderRequest.Builder clearDisplayName()
Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
clearEtag()
public ModifyOrderRequest.Builder clearEtag()
Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ModifyOrderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
clearModifications()
public ModifyOrderRequest.Builder clearModifications()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
clearName()
public ModifyOrderRequest.Builder clearName()
Required. Name of the order to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ModifyOrderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
clone()
public ModifyOrderRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
getDefaultInstanceForType()
public ModifyOrderRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ModifyOrderRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEtag()
public String getEtag()
Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getModifications(int index)
public ModifyOrderRequest.Modification getModifications(int index)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification |
getModificationsBuilder(int index)
public ModifyOrderRequest.Modification.Builder getModificationsBuilder(int index)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Modification.Builder |
getModificationsBuilderList()
public List<ModifyOrderRequest.Modification.Builder> getModificationsBuilderList()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getModificationsCount()
public int getModificationsCount()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getModificationsList()
public List<ModifyOrderRequest.Modification> getModificationsList()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Modification> |
getModificationsOrBuilder(int index)
public ModifyOrderRequest.ModificationOrBuilder getModificationsOrBuilder(int index)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.ModificationOrBuilder |
getModificationsOrBuilderList()
public List<? extends ModifyOrderRequest.ModificationOrBuilder> getModificationsOrBuilderList()
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.ModificationOrBuilder> |
getName()
public String getName()
Required. Name of the order to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Name of the order to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ModifyOrderRequest other)
public ModifyOrderRequest.Builder mergeFrom(ModifyOrderRequest other)
Parameter | |
---|---|
Name | Description |
other |
ModifyOrderRequest |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModifyOrderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ModifyOrderRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModifyOrderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
removeModifications(int index)
public ModifyOrderRequest.Builder removeModifications(int index)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
setDisplayName(String value)
public ModifyOrderRequest.Builder setDisplayName(String value)
Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ModifyOrderRequest.Builder setDisplayNameBytes(ByteString value)
Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setEtag(String value)
public ModifyOrderRequest.Builder setEtag(String value)
Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public ModifyOrderRequest.Builder setEtagBytes(ByteString value)
Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ModifyOrderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
setModifications(int index, ModifyOrderRequest.Modification value)
public ModifyOrderRequest.Builder setModifications(int index, ModifyOrderRequest.Modification value)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ModifyOrderRequest.Modification |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
setModifications(int index, ModifyOrderRequest.Modification.Builder builderForValue)
public ModifyOrderRequest.Builder setModifications(int index, ModifyOrderRequest.Modification.Builder builderForValue)
Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ModifyOrderRequest.Modification.Builder |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
setName(String value)
public ModifyOrderRequest.Builder setName(String value)
Required. Name of the order to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ModifyOrderRequest.Builder setNameBytes(ByteString value)
Required. Name of the order to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModifyOrderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ModifyOrderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ModifyOrderRequest.Builder |