Class PropertyArray.Builder (0.49.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.Property>
Returns
Type Description
PropertyArray.Builder

addProperties(Property value)

public PropertyArray.Builder addProperties(Property value)

List of property values.

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

Parameter
Name Description
value Property
Returns
Type Description
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
Name Description
builderForValue Property.Builder
Returns
Type Description
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
Name Description
index int
value Property
Returns
Type Description
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
Name Description
index int
builderForValue Property.Builder
Returns
Type Description
PropertyArray.Builder

addPropertiesBuilder()

public Property.Builder addPropertiesBuilder()

List of property values.

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

Returns
Type Description
Property.Builder

addPropertiesBuilder(int index)

public Property.Builder addPropertiesBuilder(int index)

List of property values.

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

Parameter
Name Description
index int
Returns
Type Description
Property.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyArray.Builder
Overrides

build()

public PropertyArray build()
Returns
Type Description
PropertyArray

buildPartial()

public PropertyArray buildPartial()
Returns
Type Description
PropertyArray

clear()

public PropertyArray.Builder clear()
Returns
Type Description
PropertyArray.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PropertyArray.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PropertyArray.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PropertyArray.Builder
Overrides

clearProperties()

public PropertyArray.Builder clearProperties()

List of property values.

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

Returns
Type Description
PropertyArray.Builder

clone()

public PropertyArray.Builder clone()
Returns
Type Description
PropertyArray.Builder
Overrides

getDefaultInstanceForType()

public PropertyArray getDefaultInstanceForType()
Returns
Type Description
PropertyArray

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProperties(int index)

public Property getProperties(int index)

List of property values.

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

Parameter
Name Description
index int
Returns
Type Description
Property

getPropertiesBuilder(int index)

public Property.Builder getPropertiesBuilder(int index)

List of property values.

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

Parameter
Name Description
index int
Returns
Type Description
Property.Builder

getPropertiesBuilderList()

public List<Property.Builder> getPropertiesBuilderList()

List of property values.

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

Returns
Type Description
List<Builder>

getPropertiesCount()

public int getPropertiesCount()

List of property values.

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

Returns
Type Description
int

getPropertiesList()

public List<Property> getPropertiesList()

List of property values.

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

Returns
Type Description
List<Property>

getPropertiesOrBuilder(int index)

public PropertyOrBuilder getPropertiesOrBuilder(int index)

List of property values.

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

Parameter
Name Description
index int
Returns
Type Description
PropertyOrBuilder

getPropertiesOrBuilderList()

public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()

List of property values.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PropertyArray other)

public PropertyArray.Builder mergeFrom(PropertyArray other)
Parameter
Name Description
other PropertyArray
Returns
Type Description
PropertyArray.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyArray.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PropertyArray.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PropertyArray.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
PropertyArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value Property
Returns
Type Description
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
Name Description
index int
builderForValue Property.Builder
Returns
Type Description
PropertyArray.Builder

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

public PropertyArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PropertyArray.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyArray.Builder
Overrides