Class GetOrderRequest.Builder (0.21.0)

public static final class GetOrderRequest.Builder extends GeneratedMessageV3.Builder<GetOrderRequest.Builder> implements GetOrderRequestOrBuilder

Request message for ConsumerProcurementService.GetOrder

Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.GetOrderRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetOrderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

build()

public GetOrderRequest build()
Returns
TypeDescription
GetOrderRequest

buildPartial()

public GetOrderRequest buildPartial()
Returns
TypeDescription
GetOrderRequest

clear()

public GetOrderRequest.Builder clear()
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetOrderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

clearName()

public GetOrderRequest.Builder clearName()

Required. The name of the order to retrieve.

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

Returns
TypeDescription
GetOrderRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetOrderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

clone()

public GetOrderRequest.Builder clone()
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

getDefaultInstanceForType()

public GetOrderRequest getDefaultInstanceForType()
Returns
TypeDescription
GetOrderRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the order to retrieve.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the order to retrieve.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetOrderRequest other)

public GetOrderRequest.Builder mergeFrom(GetOrderRequest other)
Parameter
NameDescription
otherGetOrderRequest
Returns
TypeDescription
GetOrderRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetOrderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetOrderRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetOrderRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetOrderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetOrderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

setName(String value)

public GetOrderRequest.Builder setName(String value)

Required. The name of the order to retrieve.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetOrderRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetOrderRequest.Builder setNameBytes(ByteString value)

Required. The name of the order to retrieve.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetOrderRequest.Builder

This builder for chaining.

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

public GetOrderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetOrderRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetOrderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetOrderRequest.Builder
Overrides