Class MapTypeOptions (0.7.0)

public final class MapTypeOptions extends GeneratedMessageV3 implements MapTypeOptionsOrBuilder

Configurations for a Map property.

Protobuf type google.cloud.contentwarehouse.v1.MapTypeOptions

Static Methods

getDefaultInstance()

public static MapTypeOptions getDefaultInstance()
Returns
TypeDescription
MapTypeOptions

getDescriptor()

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

newBuilder()

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

newBuilder(MapTypeOptions prototype)

public static MapTypeOptions.Builder newBuilder(MapTypeOptions prototype)
Parameter
NameDescription
prototypeMapTypeOptions
Returns
TypeDescription
MapTypeOptions.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MapTypeOptions getDefaultInstanceForType()
Returns
TypeDescription
MapTypeOptions

getParserForType()

public Parser<MapTypeOptions> getParserForType()
Returns
TypeDescription
Parser<MapTypeOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 MapTypeOptions.Builder newBuilderForType()
Returns
TypeDescription
MapTypeOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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