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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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];
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];
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];
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];
addPropertyDefinitionsBuilder()
public PropertyDefinition.Builder addPropertyDefinitionsBuilder()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyTypeOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PropertyTypeOptions build()
buildPartial()
public PropertyTypeOptions buildPartial()
clear()
public PropertyTypeOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PropertyTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyTypeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public PropertyTypeOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public PropertyTypeOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
getPropertyDefinitionsCount()
public int getPropertyDefinitionsCount()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getPropertyDefinitionsList()
public List<PropertyDefinition> getPropertyDefinitionsList()
Required. List of property definitions.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PropertyTypeOptions other)
public PropertyTypeOptions.Builder mergeFrom(PropertyTypeOptions other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyTypeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PropertyTypeOptions.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyTypeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyTypeOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyTypeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyTypeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides