Package com.buildless.projects
Class Credentials.ProjectApiKey.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
com.buildless.projects.Credentials.ProjectApiKey.Builder
- All Implemented Interfaces:
Credentials.ProjectApiKeyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
Credentials.ProjectApiKey
public static final class Credentials.ProjectApiKey.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
implements Credentials.ProjectApiKeyOrBuilder
### Project API Key Describes an API key provisioned under the scope of a Buildless project. When a project is created, an API key is issued which identifies the project and enables certain access or permissions based on project settings. Such keys *only* grant access to objects accessible through the project.Protobuf type
buildless.projects.Credentials.ProjectApiKey-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Describes information for the primary API key in this project API key bundle.Specifies the moment at which this key was originally created.Specifies information about the user who created this key.Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.Describes information for the events API key in this project API key bundle.Specifies the moment at which this key expires.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies whether this key has been revoked.Specifies the moment at which this key was revoked.Specifies information about the user who revoked this key.Specifies the last time this key was updated.Specifies information about the user who last updated this key.clone()Describes information for the primary API key in this project API key bundle.Describes information for the primary API key in this project API key bundle.Describes information for the primary API key in this project API key bundle.com.google.protobuf.TimestampSpecifies the moment at which this key was originally created.com.google.protobuf.Timestamp.BuilderSpecifies the moment at which this key was originally created.com.google.protobuf.TimestampOrBuilderSpecifies the moment at which this key was originally created.Specifies information about the user who created this key.Specifies information about the user who created this key.Specifies information about the user who created this key.Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.com.google.protobuf.ByteStringDisplay description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDescribes information for the events API key in this project API key bundle.Describes information for the events API key in this project API key bundle.Describes information for the events API key in this project API key bundle.com.google.protobuf.TimestampSpecifies the moment at which this key expires.com.google.protobuf.Timestamp.BuilderSpecifies the moment at which this key expires.com.google.protobuf.TimestampOrBuilderSpecifies the moment at which this key expires.getHooks()Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.booleanSpecifies whether this key has been revoked.com.google.protobuf.TimestampSpecifies the moment at which this key was revoked.com.google.protobuf.Timestamp.BuilderSpecifies the moment at which this key was revoked.com.google.protobuf.TimestampOrBuilderSpecifies the moment at which this key was revoked.Specifies information about the user who revoked this key.Specifies information about the user who revoked this key.Specifies information about the user who revoked this key.com.google.protobuf.TimestampSpecifies the last time this key was updated.com.google.protobuf.Timestamp.BuilderSpecifies the last time this key was updated.com.google.protobuf.TimestampOrBuilderSpecifies the last time this key was updated.Specifies information about the user who last updated this key.Specifies information about the user who last updated this key.Specifies information about the user who last updated this key.booleanDescribes information for the primary API key in this project API key bundle.booleanSpecifies the moment at which this key was originally created.booleanSpecifies information about the user who created this key.booleanDescribes information for the events API key in this project API key bundle.booleanSpecifies the moment at which this key expires.booleanhasHooks()Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.booleanSpecifies the moment at which this key was revoked.booleanSpecifies information about the user who revoked this key.booleanSpecifies the last time this key was updated.booleanSpecifies information about the user who last updated this key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeApikey(ApiKeyInfo value) Describes information for the primary API key in this project API key bundle.mergeCreatedAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key was originally created.mergeCreatedBy(UserReference value) Specifies information about the user who created this key.mergeEvents(ApiKeyInfo value) Describes information for the events API key in this project API key bundle.mergeExpiresAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key expires.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHooks(ApiKeyInfo value) Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.mergeRevokedAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key was revoked.mergeRevokedBy(UserReference value) Specifies information about the user who revoked this key.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdatedAt(com.google.protobuf.Timestamp value) Specifies the last time this key was updated.mergeUpdatedBy(UserReference value) Specifies information about the user who last updated this key.setApikey(ApiKeyInfo value) Describes information for the primary API key in this project API key bundle.setApikey(ApiKeyInfo.Builder builderForValue) Describes information for the primary API key in this project API key bundle.setCreatedAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key was originally created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key was originally created.setCreatedBy(UserReference value) Specifies information about the user who created this key.setCreatedBy(UserReference.Builder builderForValue) Specifies information about the user who created this key.setDescription(String value) Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.setDescriptionBytes(com.google.protobuf.ByteString value) Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.setEvents(ApiKeyInfo value) Describes information for the events API key in this project API key bundle.setEvents(ApiKeyInfo.Builder builderForValue) Describes information for the events API key in this project API key bundle.setExpiresAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key expires.setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key expires.setHooks(ApiKeyInfo value) Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.setHooks(ApiKeyInfo.Builder builderForValue) Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRevoked(boolean value) Specifies whether this key has been revoked.setRevokedAt(com.google.protobuf.Timestamp value) Specifies the moment at which this key was revoked.setRevokedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key was revoked.setRevokedBy(UserReference value) Specifies information about the user who revoked this key.setRevokedBy(UserReference.Builder builderForValue) Specifies information about the user who revoked this key.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdatedAt(com.google.protobuf.Timestamp value) Specifies the last time this key was updated.setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the last time this key was updated.setUpdatedBy(UserReference value) Specifies information about the user who last updated this key.setUpdatedBy(UserReference.Builder builderForValue) Specifies information about the user who last updated this key.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.ProjectApiKey.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.ProjectApiKey.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.ProjectApiKey.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.ProjectApiKey.Builder>
-
setField
public Credentials.ProjectApiKey.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.ProjectApiKey.Builder>
-
clearField
public Credentials.ProjectApiKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
-
clearOneof
public Credentials.ProjectApiKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
-
setRepeatedField
public Credentials.ProjectApiKey.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.ProjectApiKey.Builder>
-
addRepeatedField
public Credentials.ProjectApiKey.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.ProjectApiKey.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Credentials.ProjectApiKey.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
-
mergeFrom
public Credentials.ProjectApiKey.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.ProjectApiKey.Builder>- Throws:
IOException
-
hasApikey
public boolean hasApikey()Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApikeyin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the apikey field is set.
-
getApikey
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The apikey.
-
setApikey
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setApikey
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeApikey
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearApikey
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getApikeyBuilder
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getApikeyOrBuilder
Describes information for the primary API key in this project API key bundle. The "primary" API key is used to authorize regular operations performed against Buildless APIs, and the main Buildless service.
.buildless.authz.ApiKeyInfo apikey = 1 [json_name = "apikey", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApikeyOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasEvents
public boolean hasEvents()Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEventsin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the events field is set.
-
getEvents
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventsin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The events.
-
setEvents
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setEvents
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEvents
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEvents
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getEventsBuilder
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getEventsOrBuilder
Describes information for the events API key in this project API key bundle. The "events" key is a special API key with write-only privileges, which can be used to safely write telemetry (only), even from anonymous users.
.buildless.authz.ApiKeyInfo events = 2 [json_name = "events", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventsOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasHooks
public boolean hasHooks()Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasHooksin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the hooks field is set.
-
getHooks
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHooksin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The hooks.
-
setHooks
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setHooks
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeHooks
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearHooks
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getHooksBuilder
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getHooksOrBuilder
Describes information for the hooks key in this project API key bundle; the "hooks" key is used as a shared secret which can authenticate webhook payloads delivered within the scope of the applicable project.
.buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHooksOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
getDescription
Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.
string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.
string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The bytes for description.
-
setDescription
Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.
string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.
string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Display description which is listed along with this key; this is a user-provided value which may be updated after the key has been provisioned.
string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getRevoked
public boolean getRevoked()Specifies whether this key has been revoked. Revoked keys cannot be used to authenticate requests. Keys can be revoked at any time by any authorized user with requisite permissions.
bool revoked = 5 [json_name = "revoked", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevokedin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The revoked.
-
setRevoked
Specifies whether this key has been revoked. Revoked keys cannot be used to authenticate requests. Keys can be revoked at any time by any authorized user with requisite permissions.
bool revoked = 5 [json_name = "revoked", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revoked to set.- Returns:
- This builder for chaining.
-
clearRevoked
Specifies whether this key has been revoked. Revoked keys cannot be used to authenticate requests. Keys can be revoked at any time by any authorized user with requisite permissions.
bool revoked = 5 [json_name = "revoked", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasRevokedBy
public boolean hasRevokedBy()Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRevokedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the revokedBy field is set.
-
getRevokedBy
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRevokedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The revokedBy.
-
setRevokedBy
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
setRevokedBy
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
mergeRevokedBy
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
clearRevokedBy
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getRevokedByBuilder
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getRevokedByOrBuilder
Specifies information about the user who revoked this key. This field is only filled in if `revoked` is set to `true`, and only if the key was revoked by a user, rather than the system itself.
.buildless.accounts.UserReference revoked_by = 6 [json_name = "revokedBy", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRevokedByOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasRevokedAt
public boolean hasRevokedAt()Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRevokedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the revokedAt field is set.
-
getRevokedAt
public com.google.protobuf.Timestamp getRevokedAt()Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRevokedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The revokedAt.
-
setRevokedAt
Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
setRevokedAt
public Credentials.ProjectApiKey.Builder setRevokedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
mergeRevokedAt
Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
clearRevokedAt
Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getRevokedAtBuilder
public com.google.protobuf.Timestamp.Builder getRevokedAtBuilder()Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getRevokedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevokedAtOrBuilder()Specifies the moment at which this key was revoked. This field is only filled in if `revoked` is set to `true`.
.google.protobuf.Timestamp revoked_at = 7 [json_name = "revokedAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRevokedAtOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasExpiresAt
public boolean hasExpiresAt()Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExpiresAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the expiresAt field is set.
-
getExpiresAt
public com.google.protobuf.Timestamp getExpiresAt()Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getExpiresAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The expiresAt.
-
setExpiresAt
Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
setExpiresAt
public Credentials.ProjectApiKey.Builder setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
mergeExpiresAt
Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
clearExpiresAt
Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getExpiresAtBuilder
public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder()Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; -
getExpiresAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder()Specifies the moment at which this key expires. This field is only filled in if the key has an expiration time. If a key expires due to system activity (a normal expiration period elapses), the `revoked` flag is set with no `revoked_by` value, indicating that the Buildless service retired the key.
.google.protobuf.Timestamp expires_at = 8 [json_name = "expiresAt", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getExpiresAtOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasUpdatedBy
public boolean hasUpdatedBy()Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdatedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the updatedBy field is set.
-
getUpdatedBy
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The updatedBy.
-
setUpdatedBy
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdatedBy
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdatedBy
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdatedBy
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatedByBuilder
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatedByOrBuilder
Specifies information about the user who last updated this key.
.buildless.accounts.UserReference updated_by = 96 [json_name = "updatedBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatedByOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasUpdatedAt
public boolean hasUpdatedAt()Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdatedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
public com.google.protobuf.Timestamp getUpdatedAt()Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdatedAt
public Credentials.ProjectApiKey.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdatedAt
Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdatedAt
Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatedAtBuilder
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()Specifies the last time this key was updated. Changes with each update to the key record.
.google.protobuf.Timestamp updated_at = 97 [json_name = "updatedAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdatedAtOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreatedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatedByin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The createdBy.
-
setCreatedBy
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreatedBy
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreatedBy
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreatedBy
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreatedByBuilder
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreatedByOrBuilder
Specifies information about the user who created this key. If the key was created by the system, this field is not filled in. The initial key for a project is created by the system.
.buildless.accounts.UserReference created_by = 98 [json_name = "createdBy", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatedByOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
hasCreatedAt
public boolean hasCreatedAt()Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreatedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatedAtin interfaceCredentials.ProjectApiKeyOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreatedAt
public Credentials.ProjectApiKey.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreatedAt
Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreatedAt
Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Specifies the moment at which this key was originally created. Does not change over the lifecycle of the key.
.google.protobuf.Timestamp created_at = 99 [json_name = "createdAt", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatedAtOrBuilderin interfaceCredentials.ProjectApiKeyOrBuilder
-
setUnknownFields
public final Credentials.ProjectApiKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
-
mergeUnknownFields
public final Credentials.ProjectApiKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
-