public static final class PropertyTypeOptions.Builder extends GeneratedMessageV3.Builder<PropertyTypeOptions.Builder> implements PropertyTypeOptionsOrBuilder
Configurations for a nested structured data property.
Protobuf type google.cloud.contentwarehouse.v1.PropertyTypeOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)
public PropertyTypeOptions.Builder addAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.contentwarehouse.v1.PropertyDefinition>
|
Returns
addPropertyDefinitions(PropertyDefinition value)
public PropertyTypeOptions.Builder addPropertyDefinitions(PropertyDefinition value)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addPropertyDefinitions(PropertyDefinition.Builder builderForValue)
public PropertyTypeOptions.Builder addPropertyDefinitions(PropertyDefinition.Builder builderForValue)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addPropertyDefinitions(int index, PropertyDefinition value)
public PropertyTypeOptions.Builder addPropertyDefinitions(int index, PropertyDefinition value)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
public PropertyTypeOptions.Builder addPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addPropertyDefinitionsBuilder()
public PropertyDefinition.Builder addPropertyDefinitionsBuilder()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
addPropertyDefinitionsBuilder(int index)
public PropertyDefinition.Builder addPropertyDefinitionsBuilder(int index)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyTypeOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PropertyTypeOptions build()
Returns
buildPartial()
public PropertyTypeOptions buildPartial()
Returns
clear()
public PropertyTypeOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PropertyTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyTypeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPropertyDefinitions()
public PropertyTypeOptions.Builder clearPropertyDefinitions()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public PropertyTypeOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PropertyTypeOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPropertyDefinitions(int index)
public PropertyDefinition getPropertyDefinitions(int index)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getPropertyDefinitionsBuilder(int index)
public PropertyDefinition.Builder getPropertyDefinitionsBuilder(int index)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getPropertyDefinitionsBuilderList()
public List<PropertyDefinition.Builder> getPropertyDefinitionsBuilderList()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPropertyDefinitionsCount()
public int getPropertyDefinitionsCount()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPropertyDefinitionsList()
public List<PropertyDefinition> getPropertyDefinitionsList()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPropertyDefinitionsOrBuilder(int index)
public PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder(int index)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getPropertyDefinitionsOrBuilderList()
public List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.contentwarehouse.v1.PropertyDefinitionOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PropertyTypeOptions other)
public PropertyTypeOptions.Builder mergeFrom(PropertyTypeOptions other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyTypeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PropertyTypeOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyTypeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePropertyDefinitions(int index)
public PropertyTypeOptions.Builder removePropertyDefinitions(int index)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyTypeOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPropertyDefinitions(int index, PropertyDefinition value)
public PropertyTypeOptions.Builder setPropertyDefinitions(int index, PropertyDefinition value)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
public PropertyTypeOptions.Builder setPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyTypeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyTypeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides