Send feedback
Class ProjectProperties.Builder (2.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.4 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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 >
Returns
addProperties(Property value)
public ProjectProperties . Builder addProperties ( Property value )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
addProperties(Property.Builder builderForValue)
public ProjectProperties . Builder addProperties ( Property . Builder builderForValue )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addPropertiesBuilder()
public Property . Builder addPropertiesBuilder ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
addPropertiesBuilder(int index)
public Property . Builder addPropertiesBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectProperties . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ProjectProperties build ()
Returns
buildPartial()
public ProjectProperties buildPartial ()
Returns
clear()
public ProjectProperties . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectProperties . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectProperties . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProperties()
public ProjectProperties . Builder clearProperties ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
clone()
public ProjectProperties . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ProjectProperties getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getProperties(int index)
public Property getProperties ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
getPropertiesBuilder(int index)
public Property . Builder getPropertiesBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
getPropertiesBuilderList()
public List<Property . Builder > getPropertiesBuilderList ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
getPropertiesCount()
public int getPropertiesCount ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
getPropertiesList()
public List<Property> getPropertiesList ()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Returns
getPropertiesOrBuilder(int index)
public PropertyOrBuilder getPropertiesOrBuilder ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ProjectProperties other)
public ProjectProperties . Builder mergeFrom ( ProjectProperties other )
Parameter
Returns
public ProjectProperties . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProjectProperties . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectProperties . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeProperties(int index)
public ProjectProperties . Builder removeProperties ( int index )
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectProperties . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectProperties . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectProperties . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]