Class MetadataInput (0.3.0)

public final class MetadataInput extends GeneratedMessage implements MetadataInputOrBuilder

Metadata for the input

Protobuf type google.cloud.designcenter.v1.MetadataInput

Static Fields

SPEC_FIELD_NUMBER

public static final int SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MetadataInput getDefaultInstance()
Returns
Type Description
MetadataInput

getDescriptor()

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

newBuilder()

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

newBuilder(MetadataInput prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MetadataInput getDefaultInstanceForType()
Returns
Type Description
MetadataInput

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpec()

public MetadataInputSpec getSpec()

Required. spec containing the metadata

.google.cloud.designcenter.v1.MetadataInputSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataInputSpec

The spec.

getSpecOrBuilder()

public MetadataInputSpecOrBuilder getSpecOrBuilder()

Required. spec containing the metadata

.google.cloud.designcenter.v1.MetadataInputSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataInputSpecOrBuilder

hasSpec()

public boolean hasSpec()

Required. spec containing the metadata

.google.cloud.designcenter.v1.MetadataInputSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the spec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected MetadataInput.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetadataInput.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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