public final class ProjectProperties extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProjectPropertiesImplements
ProjectPropertiesOrBuilderStatic Fields
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ProjectProperties getDefaultInstance()
Type | Description |
ProjectProperties |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ProjectProperties.Builder newBuilder()
Type | Description |
ProjectProperties.Builder |
newBuilder(ProjectProperties prototype)
public static ProjectProperties.Builder newBuilder(ProjectProperties prototype)
Name | Description |
prototype | ProjectProperties |
Type | Description |
ProjectProperties.Builder |
parseDelimitedFrom(InputStream input)
public static ProjectProperties parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ProjectProperties parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ProjectProperties parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ProjectProperties parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ProjectProperties parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ProjectProperties parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProjectProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectProperties |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ProjectProperties> parser()
Type | Description |
Parser<ProjectProperties> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ProjectProperties getDefaultInstanceForType()
Type | Description |
ProjectProperties |
getParserForType()
public Parser<ProjectProperties> getParserForType()
Type | Description |
Parser<ProjectProperties> |
getProperties(int index)
public Property getProperties(int index)
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Name | Description |
index | int |
Type | Description |
Property |
getPropertiesCount()
public int getPropertiesCount()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Type | Description |
int |
getPropertiesList()
public List<Property> getPropertiesList()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Type | Description |
List<Property> |
getPropertiesOrBuilder(int index)
public PropertyOrBuilder getPropertiesOrBuilder(int index)
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Name | Description |
index | int |
Type | Description |
PropertyOrBuilder |
getPropertiesOrBuilderList()
public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
Type | Description |
List<? extends com.google.api.PropertyOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ProjectProperties.Builder newBuilderForType()
Type | Description |
ProjectProperties.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProjectProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ProjectProperties.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ProjectProperties.Builder toBuilder()
Type | Description |
ProjectProperties.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |