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: INT64Protobuf type
google.api.ProjectProperties
Modifier and Type | Class and Description |
---|---|
static class |
ProjectProperties.Builder
A descriptor for defining project properties for a service.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
PROPERTIES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int PROPERTIES_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.util.List<Property> getPropertiesList()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesList
in interface ProjectPropertiesOrBuilder
public java.util.List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesOrBuilderList
in interface ProjectPropertiesOrBuilder
public int getPropertiesCount()
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesCount
in interface ProjectPropertiesOrBuilder
public Property getProperties(int index)
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getProperties
in interface ProjectPropertiesOrBuilder
public PropertyOrBuilder getPropertiesOrBuilder(int index)
List of per consumer project-specific properties.
repeated .google.api.Property properties = 1;
getPropertiesOrBuilder
in interface ProjectPropertiesOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ProjectProperties parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ProjectProperties parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ProjectProperties parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ProjectProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ProjectProperties parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ProjectProperties parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ProjectProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ProjectProperties.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ProjectProperties.Builder newBuilder()
public static ProjectProperties.Builder newBuilder(ProjectProperties prototype)
public ProjectProperties.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ProjectProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ProjectProperties getDefaultInstance()
public static Parser<ProjectProperties> parser()
public Parser<ProjectProperties> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ProjectProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder