Package com.buildless.projects
Class Credentials.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
com.buildless.projects.Credentials.Builder
- All Implemented Interfaces:
CredentialsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
Credentials
public static final class Credentials.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllApikey(Iterable<? extends Credentials.ProjectApiKey> values) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.addAllToken(Iterable<? extends Credentials.ProjectToken> values) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.addApikey(int index, Credentials.ProjectApiKey value) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.addApikey(int index, Credentials.ProjectApiKey.Builder builderForValue) Describes 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.addApikey(Credentials.ProjectApiKey.Builder builderForValue) Describes 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.addApikeyBuilder(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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addToken(int index, Credentials.ProjectToken value) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.addToken(int index, Credentials.ProjectToken.Builder builderForValue) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.addToken(Credentials.ProjectToken value) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.addToken(Credentials.ProjectToken.Builder builderForValue) Describes 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.addTokenBuilder(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.build()clear()Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.clone()getApikey(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.getApikeyBuilder(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.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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetToken(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.getTokenBuilder(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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Credentials other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Credentials.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeApikey(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.removeToken(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.setApikey(int index, Credentials.ProjectApiKey value) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.setApikey(int index, Credentials.ProjectApiKey.Builder builderForValue) Describes the set of API keys issued for this project; one always exists, having been provisioned at the time the project is created.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setToken(int index, Credentials.ProjectToken value) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.setToken(int index, Credentials.ProjectToken.Builder builderForValue) Describes the project tokens most recently issued for this project; these are only present if the project has been used to issue tokens.final Credentials.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Credentials.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
setField
public Credentials.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
setRepeatedField
public Credentials.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
addRepeatedField
public Credentials.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Credentials.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
mergeFrom
public Credentials.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Credentials.Builder>- Throws:
IOException
-
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
-
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
-
setApikey
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]; -
setApikey
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]; -
addApikey
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]; -
addApikey
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]; -
addApikey
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]; -
addApikey
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]; -
addAllApikey
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]; -
clearApikey
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]; -
removeApikey
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]; -
getApikeyBuilder
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]; -
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
-
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
-
addApikeyBuilder
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]; -
addApikeyBuilder
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]; -
getApikeyBuilderList
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]; -
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
-
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
-
setToken
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]; -
setToken
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]; -
addToken
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]; -
addToken
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]; -
addToken
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]; -
addToken
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]; -
addAllToken
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]; -
clearToken
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]; -
removeToken
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]; -
getTokenBuilder
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]; -
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
-
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
-
addTokenBuilder
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]; -
addTokenBuilder
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]; -
getTokenBuilderList
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]; -
setUnknownFields
public final Credentials.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-
mergeUnknownFields
public final Credentials.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.Builder>
-