Class PropertyArray (0.4.0)

public final class PropertyArray extends GeneratedMessageV3 implements PropertyArrayOrBuilder

Property values.

Protobuf type google.cloud.contentwarehouse.v1.PropertyArray

Static Fields

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyArray getDefaultInstance()
Returns
TypeDescription
PropertyArray

getDescriptor()

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

newBuilder()

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

newBuilder(PropertyArray prototype)

public static PropertyArray.Builder newBuilder(PropertyArray prototype)
Parameter
NameDescription
prototypePropertyArray
Returns
TypeDescription
PropertyArray.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PropertyArray getDefaultInstanceForType()
Returns
TypeDescription
PropertyArray

getParserForType()

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

getProperties(int index)

public Property getProperties(int index)

List of property values.

repeated .google.cloud.contentwarehouse.v1.Property properties = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Property

getPropertiesCount()

public int getPropertiesCount()

List of property values.

repeated .google.cloud.contentwarehouse.v1.Property properties = 1;

Returns
TypeDescription
int

getPropertiesList()

public List<Property> getPropertiesList()

List of property values.

repeated .google.cloud.contentwarehouse.v1.Property properties = 1;

Returns
TypeDescription
List<Property>

getPropertiesOrBuilder(int index)

public PropertyOrBuilder getPropertiesOrBuilder(int index)

List of property values.

repeated .google.cloud.contentwarehouse.v1.Property properties = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PropertyOrBuilder

getPropertiesOrBuilderList()

public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()

List of property values.

repeated .google.cloud.contentwarehouse.v1.Property properties = 1;

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.PropertyOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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