Class MethodDetails (0.4.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
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

SUBAPI_FIELD_NUMBER

public static final int SUBAPI_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MethodDetails getDefaultInstance()
Returns
TypeDescription
MethodDetails

getDescriptor()

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

newBuilder()

public static MethodDetails.Builder newBuilder()
Returns
TypeDescription
MethodDetails.Builder

newBuilder(MethodDetails prototype)

public static MethodDetails.Builder newBuilder(MethodDetails prototype)
Parameter
NameDescription
prototypeMethodDetails
Returns
TypeDescription
MethodDetails.Builder

parseDelimitedFrom(InputStream input)

public static MethodDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MethodDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MethodDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MethodDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MethodDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MethodDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MethodDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MethodDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MethodDetails> parser()
Returns
TypeDescription
Parser<MethodDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MethodDetails getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for method.

getParserForType()

public Parser<MethodDetails> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for version.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MethodDetails.Builder newBuilderForType()
Returns
TypeDescription
MethodDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MethodDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MethodDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MethodDetails.Builder toBuilder()
Returns
TypeDescription
MethodDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException