Class ProjectProperties.Builder (2.26.0)
2.67.0 (latest)
2.66.0
2.65.1
2.64.1
2.63.2
2.62.0
2.61.3
2.60.0
2.59.2
2.58.0
2.57.0
2.56.0
2.54.1
2.53.0
2.52.0
2.51.0
2.50.1
2.49.0
2.48.0
2.46.0
2.45.1
2.44.0
2.43.0
2.42.0
2.41.0
2.40.0
2.39.1
2.38.0
2.37.1
2.36.0
2.34.0
2.33.0
2.32.0
2.30.0
2.29.0
2.28.0
2.27.0
2.26.0
2.25.1
2.24.0
2.23.1
2.22.1
2.21.1
2.15.0
2.14.3
2.13.0
2.12.0
2.11.0
2.10.0
2.9.6
2.8.4
2.7.4
public static final class ProjectProperties . Builder extends GeneratedMessageV3 . Builder<ProjectProperties . Builder > implements ProjectPropertiesOrBuilder
A descriptor for defining project properties for a service. One service may
have many consumer projects, and the service may want to behave differently
depending on some properties on the project. For example, a project may be
associated with a school, or a business, or a government agency, a business
type property on the project may affect how a service responds to the client.
This descriptor defines which properties are allowed to be set on a project.
Example:
project_properties:
properties:
- name: NO_WATERMARK
type: BOOL
description: Allows usage of the API without watermarks.
- name: EXTENDED_TILE_CACHE_PERIOD
type: INT64
Protobuf type google.api.ProjectProperties
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 ()
Methods
addAllProperties(Iterable<? extends Property> values)
public ProjectProperties . Builder addAllProperties ( Iterable <? extends Property > values )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.api.Property >
addProperties(Property value)
public ProjectProperties . Builder addProperties ( Property value )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
value
Property
addProperties(Property.Builder builderForValue)
public ProjectProperties . Builder addProperties ( Property . Builder builderForValue )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
addProperties(int index, Property value)
public ProjectProperties . Builder addProperties ( int index , Property value )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
addProperties(int index, Property.Builder builderForValue)
public ProjectProperties . Builder addProperties ( int index , Property . Builder builderForValue )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
addPropertiesBuilder()
public Property . Builder addPropertiesBuilder ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
addPropertiesBuilder(int index)
public Property . Builder addPropertiesBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectProperties . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ProjectProperties build ()
buildPartial()
public ProjectProperties buildPartial ()
clear()
public ProjectProperties . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectProperties . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectProperties . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProperties()
public ProjectProperties . Builder clearProperties ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
clone()
public ProjectProperties . Builder clone ()
Overrides
getDefaultInstanceForType()
public ProjectProperties getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getProperties(int index)
public Property getProperties ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
index
int
getPropertiesBuilder(int index)
public Property . Builder getPropertiesBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
index
int
getPropertiesBuilderList()
public List<Property . Builder > getPropertiesBuilderList ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesCount()
public int getPropertiesCount ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
Type
Description
int
getPropertiesList()
public List<Property> getPropertiesList ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesOrBuilder(int index)
public PropertyOrBuilder getPropertiesOrBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
index
int
getPropertiesOrBuilderList()
public List <? extends PropertyOrBuilder > getPropertiesOrBuilderList ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
Type
Description
List <? extends com.google.api.PropertyOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ProjectProperties other)
public ProjectProperties . Builder mergeFrom ( ProjectProperties other )
public ProjectProperties . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ProjectProperties . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectProperties . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeProperties(int index)
public ProjectProperties . Builder removeProperties ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectProperties . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setProperties(int index, Property value)
public ProjectProperties . Builder setProperties ( int index , Property value )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
setProperties(int index, Property.Builder builderForValue)
public ProjectProperties . Builder setProperties ( int index , Property . Builder builderForValue )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectProperties . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectProperties . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]