Class ServiceConstants (2.15.1)

public final class ServiceConstants extends GeneratedMessageV3 implements ServiceConstantsOrBuilder

Shared constants.

Protobuf type google.storage.v2.ServiceConstants

Static Methods

getDefaultInstance()

public static ServiceConstants getDefaultInstance()
Returns
Type Description
ServiceConstants

getDescriptor()

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

newBuilder()

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

newBuilder(ServiceConstants prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ServiceConstants getDefaultInstanceForType()
Returns
Type Description
ServiceConstants

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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 ServiceConstants.Builder newBuilderForType()
Returns
Type Description
ServiceConstants.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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