public static final class MethodDetails.Builder extends GeneratedMessageV3.Builder<MethodDetails.Builder> implements MethodDetailsOrBuilder
The method details per method in the Merchant API.
Protobuf type google.shopping.merchant.quota.v1beta.MethodDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MethodDetails.BuilderImplements
MethodDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MethodDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
build()
public MethodDetails build()
Returns | |
---|---|
Type | Description |
MethodDetails |
buildPartial()
public MethodDetails buildPartial()
Returns | |
---|---|
Type | Description |
MethodDetails |
clear()
public MethodDetails.Builder clear()
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public MethodDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
clearMethod()
public MethodDetails.Builder clearMethod()
Output only. The name of the method for example products.list
.
string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MethodDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
clearPath()
public MethodDetails.Builder clearPath()
Output only. The path for the method such as
products/v1/productInputs.insert
string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
clearSubapi()
public MethodDetails.Builder clearSubapi()
Output only. The sub-API that the method belongs to.
string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
clearVersion()
public MethodDetails.Builder clearVersion()
Output only. The API version that the method belongs to.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
clone()
public MethodDetails.Builder clone()
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
getDefaultInstanceForType()
public MethodDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MethodDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMethod()
public String getMethod()
Output only. The name of the method for example products.list
.
string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The method. |
getMethodBytes()
public ByteString getMethodBytes()
Output only. The name of the method for example products.list
.
string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for method. |
getPath()
public String getPath()
Output only. The path for the method such as
products/v1/productInputs.insert
string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
Output only. The path for the method such as
products/v1/productInputs.insert
string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for path. |
getSubapi()
public String getSubapi()
Output only. The sub-API that the method belongs to.
string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The subapi. |
getSubapiBytes()
public ByteString getSubapiBytes()
Output only. The sub-API that the method belongs to.
string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for subapi. |
getVersion()
public String getVersion()
Output only. The API version that the method belongs to.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Output only. The API version that the method belongs to.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MethodDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MethodDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
mergeFrom(MethodDetails other)
public MethodDetails.Builder mergeFrom(MethodDetails other)
Parameter | |
---|---|
Name | Description |
other | MethodDetails |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MethodDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MethodDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
setMethod(String value)
public MethodDetails.Builder setMethod(String value)
Output only. The name of the method for example products.list
.
string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The method to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setMethodBytes(ByteString value)
public MethodDetails.Builder setMethodBytes(ByteString value)
Output only. The name of the method for example products.list
.
string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for method to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setPath(String value)
public MethodDetails.Builder setPath(String value)
Output only. The path for the method such as
products/v1/productInputs.insert
string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The path to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public MethodDetails.Builder setPathBytes(ByteString value)
Output only. The path for the method such as
products/v1/productInputs.insert
string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for path to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MethodDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
setSubapi(String value)
public MethodDetails.Builder setSubapi(String value)
Output only. The sub-API that the method belongs to.
string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The subapi to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setSubapiBytes(ByteString value)
public MethodDetails.Builder setSubapiBytes(ByteString value)
Output only. The sub-API that the method belongs to.
string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for subapi to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MethodDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder |
setVersion(String value)
public MethodDetails.Builder setVersion(String value)
Output only. The API version that the method belongs to.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public MethodDetails.Builder setVersionBytes(ByteString value)
Output only. The API version that the method belongs to.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
MethodDetails.Builder | This builder for chaining. |