Class MethodDetails (0.8.0)

public final class MethodDetails extends GeneratedMessageV3 implements MethodDetailsOrBuilder

The method details per method in the Merchant API.

Protobuf type google.shopping.merchant.quota.v1beta.MethodDetails

Static Fields

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

SUBAPI_FIELD_NUMBER

public static final int SUBAPI_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MethodDetails getDefaultInstance()
Returns
Type Description
MethodDetails

getDescriptor()

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

newBuilder()

public static MethodDetails.Builder newBuilder()
Returns
Type Description
MethodDetails.Builder

newBuilder(MethodDetails prototype)

public static MethodDetails.Builder newBuilder(MethodDetails prototype)
Parameter
Name Description
prototype MethodDetails
Returns
Type Description
MethodDetails.Builder

parseDelimitedFrom(InputStream input)

public static MethodDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MethodDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MethodDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MethodDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MethodDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MethodDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MethodDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MethodDetails> parser()
Returns
Type Description
Parser<MethodDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MethodDetails getDefaultInstanceForType()
Returns
Type Description
MethodDetails

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.

getParserForType()

public Parser<MethodDetails> getParserForType()
Returns
Type Description
Parser<MethodDetails>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MethodDetails.Builder newBuilderForType()
Returns
Type Description
MethodDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MethodDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MethodDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MethodDetails.Builder toBuilder()
Returns
Type Description
MethodDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException