Class RequestOrderDateChangeRequest.Builder (0.42.0)

public static final class RequestOrderDateChangeRequest.Builder extends GeneratedMessage.Builder<RequestOrderDateChangeRequest.Builder> implements RequestOrderDateChangeRequestOrBuilder

A request to change the requested date of an order.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.RequestOrderDateChangeRequest

Static Methods

getDescriptor()

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

Methods

build()

public RequestOrderDateChangeRequest build()
Returns
Type Description
RequestOrderDateChangeRequest

buildPartial()

public RequestOrderDateChangeRequest buildPartial()
Returns
Type Description
RequestOrderDateChangeRequest

clear()

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

clearName()

public RequestOrderDateChangeRequest.Builder clearName()

Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RequestOrderDateChangeRequest.Builder

This builder for chaining.

clearRequestedDate()

public RequestOrderDateChangeRequest.Builder clearRequestedDate()

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RequestOrderDateChangeRequest.Builder

getDefaultInstanceForType()

public RequestOrderDateChangeRequest getDefaultInstanceForType()
Returns
Type Description
RequestOrderDateChangeRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequestedDate()

public Date getRequestedDate()

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The requestedDate.

getRequestedDateBuilder()

public Date.Builder getRequestedDateBuilder()

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date.Builder

getRequestedDateOrBuilder()

public DateOrBuilder getRequestedDateOrBuilder()

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

hasRequestedDate()

public boolean hasRequestedDate()

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the requestedDate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RequestOrderDateChangeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRequestedDate(Date value)

public RequestOrderDateChangeRequest.Builder mergeRequestedDate(Date value)

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
RequestOrderDateChangeRequest.Builder

setName(String value)

public RequestOrderDateChangeRequest.Builder setName(String value)

Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RequestOrderDateChangeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RequestOrderDateChangeRequest.Builder setNameBytes(ByteString value)

Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RequestOrderDateChangeRequest.Builder

This builder for chaining.

setRequestedDate(Date value)

public RequestOrderDateChangeRequest.Builder setRequestedDate(Date value)

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
RequestOrderDateChangeRequest.Builder

setRequestedDate(Date.Builder builderForValue)

public RequestOrderDateChangeRequest.Builder setRequestedDate(Date.Builder builderForValue)

Required. The date to which the customer or Google wants to set the scheduled installation date.

.google.type.Date requested_date = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
RequestOrderDateChangeRequest.Builder