public static final class GetStandardOfferRequest.Builder extends GeneratedMessage.Builder<GetStandardOfferRequest.Builder> implements GetStandardOfferRequestOrBuilderMessage for getting a StandardOffer
Protobuf type google.cloud.commerceproducer.v1beta.GetStandardOfferRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetStandardOfferRequest.BuilderImplements
GetStandardOfferRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetStandardOfferRequest build()| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest |
|
buildPartial()
public GetStandardOfferRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest |
|
clear()
public GetStandardOfferRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
|
clearName()
public GetStandardOfferRequest.Builder clearName()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |
clearView()
public GetStandardOfferRequest.Builder clearView()Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
.google.cloud.commerceproducer.v1beta.StandardOfferView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetStandardOfferRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getView()
public StandardOfferView getView()Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
.google.cloud.commerceproducer.v1beta.StandardOfferView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StandardOfferView |
The view. |
getViewValue()
public int getViewValue()Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
.google.cloud.commerceproducer.v1beta.StandardOfferView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetStandardOfferRequest other)
public GetStandardOfferRequest.Builder mergeFrom(GetStandardOfferRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetStandardOfferRequest |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetStandardOfferRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetStandardOfferRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
|
setName(String value)
public GetStandardOfferRequest.Builder setName(String value)Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetStandardOfferRequest.Builder setNameBytes(ByteString value)Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |
setView(StandardOfferView value)
public GetStandardOfferRequest.Builder setView(StandardOfferView value)Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
.google.cloud.commerceproducer.v1beta.StandardOfferView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StandardOfferViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public GetStandardOfferRequest.Builder setViewValue(int value)Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
.google.cloud.commerceproducer.v1beta.StandardOfferView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetStandardOfferRequest.Builder |
This builder for chaining. |