Class PropertyArray.Builder (0.3.0)

public static final class PropertyArray.Builder extends GeneratedMessageV3.Builder<PropertyArray.Builder> implements PropertyArrayOrBuilder

Property values.

Protobuf type google.cloud.contentwarehouse.v1.PropertyArray

Static Methods

getDescriptor()

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

Methods

addAllProperties(Iterable<? extends Property> values)

public PropertyArray.Builder addAllProperties(Iterable<? extends Property> values)

List of property values.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.Property>
Returns
TypeDescription
PropertyArray.Builder

addProperties(Property value)

public PropertyArray.Builder addProperties(Property value)

List of property values.

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

Parameter
NameDescription
valueProperty
Returns
TypeDescription
PropertyArray.Builder

addProperties(Property.Builder builderForValue)

public PropertyArray.Builder addProperties(Property.Builder builderForValue)

List of property values.

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

Parameter
NameDescription
builderForValueProperty.Builder
Returns
TypeDescription
PropertyArray.Builder

addProperties(int index, Property value)

public PropertyArray.Builder addProperties(int index, Property value)

List of property values.

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

Parameters
NameDescription
indexint
valueProperty
Returns
TypeDescription
PropertyArray.Builder

addProperties(int index, Property.Builder builderForValue)

public PropertyArray.Builder addProperties(int index, Property.Builder builderForValue)

List of property values.

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

Parameters
NameDescription
indexint
builderForValueProperty.Builder
Returns
TypeDescription
PropertyArray.Builder

addPropertiesBuilder()

public Property.Builder addPropertiesBuilder()

List of property values.

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

Returns
TypeDescription
Property.Builder

addPropertiesBuilder(int index)

public Property.Builder addPropertiesBuilder(int index)

List of property values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Property.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyArray.Builder
Overrides

build()

public PropertyArray build()
Returns
TypeDescription
PropertyArray

buildPartial()

public PropertyArray buildPartial()
Returns
TypeDescription
PropertyArray

clear()

public PropertyArray.Builder clear()
Returns
TypeDescription
PropertyArray.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PropertyArray.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PropertyArray.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PropertyArray.Builder
Overrides

clearProperties()

public PropertyArray.Builder clearProperties()

List of property values.

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

Returns
TypeDescription
PropertyArray.Builder

clone()

public PropertyArray.Builder clone()
Returns
TypeDescription
PropertyArray.Builder
Overrides

getDefaultInstanceForType()

public PropertyArray getDefaultInstanceForType()
Returns
TypeDescription
PropertyArray

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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

getPropertiesBuilder(int index)

public Property.Builder getPropertiesBuilder(int index)

List of property values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Property.Builder

getPropertiesBuilderList()

public List<Property.Builder> getPropertiesBuilderList()

List of property values.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyArray other)

public PropertyArray.Builder mergeFrom(PropertyArray other)
Parameter
NameDescription
otherPropertyArray
Returns
TypeDescription
PropertyArray.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyArray.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PropertyArray.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PropertyArray.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyArray.Builder
Overrides

removeProperties(int index)

public PropertyArray.Builder removeProperties(int index)

List of property values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PropertyArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyArray.Builder
Overrides

setProperties(int index, Property value)

public PropertyArray.Builder setProperties(int index, Property value)

List of property values.

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

Parameters
NameDescription
indexint
valueProperty
Returns
TypeDescription
PropertyArray.Builder

setProperties(int index, Property.Builder builderForValue)

public PropertyArray.Builder setProperties(int index, Property.Builder builderForValue)

List of property values.

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

Parameters
NameDescription
indexint
builderForValueProperty.Builder
Returns
TypeDescription
PropertyArray.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PropertyArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyArray.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyArray.Builder
Overrides