Package com.buildless.projects
Class Credentials
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.projects.Credentials
- All Implemented Interfaces:
CredentialsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Credentials
extends com.google.protobuf.GeneratedMessageV3
implements CredentialsOrBuilder
## Project Credentials Describes credentials which are provisioned within the scope of a project. These credentials are used to authenticate automated agents like CI builds, and can be inlined within the project safely without leaking user privileges. Some projects may choose to inline credentials if source code is public and they want to avoid onboarding end-users (in which case, a `PUBLIC` project is used), or if the project is private and the user wants to avoid managing credentials separately.Protobuf type
buildless.projects.Credentials- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## Project Credentials Describes credentials which are provisioned within the scope of a project.static final class### Project API Key Describes an API key provisioned under the scope of a Buildless project.static interfacestatic final class### Project Token Describes a token issued under the scope of a Buildless project; project tokens are inherently ephemeral, and are typically used in automated scenarios like continuous integration or deployment bots.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetApikey(int index) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.intDescribes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.getApikeyOrBuilder(int index) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.List<? extends Credentials.ProjectApiKeyOrBuilder>Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.static Credentialsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Credentials>intgetToken(int index) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.intDescribes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.getTokenOrBuilder(int index) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.List<? extends Credentials.ProjectTokenOrBuilder>Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Credentials.Builderstatic Credentials.BuildernewBuilder(Credentials prototype) protected Credentials.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CredentialsparseDelimitedFrom(InputStream input) static CredentialsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CredentialsparseFrom(byte[] data) static CredentialsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CredentialsparseFrom(com.google.protobuf.ByteString data) static CredentialsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CredentialsparseFrom(com.google.protobuf.CodedInputStream input) static CredentialsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CredentialsparseFrom(InputStream input) static CredentialsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CredentialsparseFrom(ByteBuffer data) static CredentialsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Credentials>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
APIKEY_FIELD_NUMBER
public static final int APIKEY_FIELD_NUMBER- See Also:
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getApikeyList
Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.
repeated .buildless.projects.Credentials.ProjectApiKey apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyListin interfaceCredentialsOrBuilder
-
getApikeyOrBuilderList
Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.
repeated .buildless.projects.Credentials.ProjectApiKey apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyOrBuilderListin interfaceCredentialsOrBuilder
-
getApikeyCount
public int getApikeyCount()Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.
repeated .buildless.projects.Credentials.ProjectApiKey apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyCountin interfaceCredentialsOrBuilder
-
getApikey
Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.
repeated .buildless.projects.Credentials.ProjectApiKey apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyin interfaceCredentialsOrBuilder
-
getApikeyOrBuilder
Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.
repeated .buildless.projects.Credentials.ProjectApiKey apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyOrBuilderin interfaceCredentialsOrBuilder
-
getTokenList
Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens. Tokens expire on a regular interval and after that time are not listed here.
repeated .buildless.projects.Credentials.ProjectToken token = 2 [json_name = "token", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenListin interfaceCredentialsOrBuilder
-
getTokenOrBuilderList
Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens. Tokens expire on a regular interval and after that time are not listed here.
repeated .buildless.projects.Credentials.ProjectToken token = 2 [json_name = "token", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenOrBuilderListin interfaceCredentialsOrBuilder
-
getTokenCount
public int getTokenCount()Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens. Tokens expire on a regular interval and after that time are not listed here.
repeated .buildless.projects.Credentials.ProjectToken token = 2 [json_name = "token", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenCountin interfaceCredentialsOrBuilder
-
getToken
Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens. Tokens expire on a regular interval and after that time are not listed here.
repeated .buildless.projects.Credentials.ProjectToken token = 2 [json_name = "token", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenin interfaceCredentialsOrBuilder
-
getTokenOrBuilder
Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens. Tokens expire on a regular interval and after that time are not listed here.
repeated .buildless.projects.Credentials.ProjectToken token = 2 [json_name = "token", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenOrBuilderin interfaceCredentialsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Credentials parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Credentials parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Credentials parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Credentials parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Credentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Credentials parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Credentials parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Credentials parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Credentials parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Credentials.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-