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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • getDefaultInstanceForType

      public Credentials.ProjectApiKey getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Credentials.ProjectApiKey build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Credentials.ProjectApiKey buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • setField

      public Credentials.ProjectApiKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • clearField

      public Credentials.ProjectApiKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • clearOneof

      public Credentials.ProjectApiKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • addRepeatedField

      public Credentials.ProjectApiKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • mergeFrom

      public Credentials.ProjectApiKey.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Credentials.ProjectApiKey.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasApikey in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the apikey field is set.
    • getApikey

      public ApiKeyInfo 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:
      getApikey in interface Credentials.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

      public Credentials.ProjectApiKey.Builder setApikey(ApiKeyInfo.Builder builderForValue)
       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

      public Credentials.ProjectApiKey.Builder mergeApikey(ApiKeyInfo value)
       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

      public Credentials.ProjectApiKey.Builder 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

      public ApiKeyInfo.Builder 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

      public ApiKeyInfoOrBuilder 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:
      getApikeyOrBuilder in interface Credentials.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:
      hasEvents in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the events field is set.
    • getEvents

      public ApiKeyInfo 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:
      getEvents in interface Credentials.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

      public Credentials.ProjectApiKey.Builder setEvents(ApiKeyInfo.Builder builderForValue)
       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

      public Credentials.ProjectApiKey.Builder mergeEvents(ApiKeyInfo value)
       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

      public Credentials.ProjectApiKey.Builder 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

      public ApiKeyInfo.Builder 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

      public ApiKeyInfoOrBuilder 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:
      getEventsOrBuilder in interface Credentials.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:
      hasHooks in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the hooks field is set.
    • getHooks

      public ApiKeyInfo 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:
      getHooks in interface Credentials.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

      public Credentials.ProjectApiKey.Builder 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.
       
      .buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeHooks

      public Credentials.ProjectApiKey.Builder 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.
       
      .buildless.authz.ApiKeyInfo hooks = 3 [json_name = "hooks", (.google.api.field_behavior) = OUTPUT_ONLY];
    • clearHooks

      public Credentials.ProjectApiKey.Builder 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

      public ApiKeyInfo.Builder 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

      public ApiKeyInfoOrBuilder 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:
      getHooksOrBuilder in interface Credentials.ProjectApiKeyOrBuilder
    • getDescription

      public String 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:
      getDescription in interface Credentials.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:
      getDescriptionBytes in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Credentials.ProjectApiKey.Builder 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.
       
      string description = 4 [json_name = "description", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Credentials.ProjectApiKey.Builder 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

      public Credentials.ProjectApiKey.Builder 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.
       
      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:
      getRevoked in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The revoked.
    • setRevoked

      public Credentials.ProjectApiKey.Builder setRevoked(boolean value)
       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

      public Credentials.ProjectApiKey.Builder 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:
      hasRevokedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the revokedBy field is set.
    • getRevokedBy

      public UserReference 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:
      getRevokedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The revokedBy.
    • setRevokedBy

      public Credentials.ProjectApiKey.Builder setRevokedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder setRevokedBy(UserReference.Builder builderForValue)
       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

      public Credentials.ProjectApiKey.Builder mergeRevokedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder 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

      public UserReference.Builder 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

      public UserReferenceOrBuilder 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:
      getRevokedByOrBuilder in interface Credentials.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:
      hasRevokedAt in interface Credentials.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:
      getRevokedAt in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The revokedAt.
    • setRevokedAt

      public Credentials.ProjectApiKey.Builder setRevokedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder mergeRevokedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder 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:
      getRevokedAtOrBuilder in interface Credentials.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:
      hasExpiresAt in interface Credentials.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:
      getExpiresAt in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The expiresAt.
    • setExpiresAt

      public Credentials.ProjectApiKey.Builder setExpiresAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder mergeExpiresAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder 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:
      getExpiresAtOrBuilder in interface Credentials.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:
      hasUpdatedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the updatedBy field is set.
    • getUpdatedBy

      public UserReference 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:
      getUpdatedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The updatedBy.
    • setUpdatedBy

      public Credentials.ProjectApiKey.Builder setUpdatedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder setUpdatedBy(UserReference.Builder builderForValue)
       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

      public Credentials.ProjectApiKey.Builder mergeUpdatedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder 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

      public UserReference.Builder 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

      public UserReferenceOrBuilder 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:
      getUpdatedByOrBuilder in interface Credentials.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:
      hasUpdatedAt in interface Credentials.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:
      getUpdatedAt in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The updatedAt.
    • setUpdatedAt

      public Credentials.ProjectApiKey.Builder setUpdatedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder mergeUpdatedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder 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:
      getUpdatedAtOrBuilder in interface Credentials.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:
      hasCreatedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public UserReference 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:
      getCreatedBy in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The createdBy.
    • setCreatedBy

      public Credentials.ProjectApiKey.Builder setCreatedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder setCreatedBy(UserReference.Builder builderForValue)
       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

      public Credentials.ProjectApiKey.Builder mergeCreatedBy(UserReference value)
       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

      public Credentials.ProjectApiKey.Builder 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

      public UserReference.Builder 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

      public UserReferenceOrBuilder 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:
      getCreatedByOrBuilder in interface Credentials.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:
      hasCreatedAt in interface Credentials.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:
      getCreatedAt in interface Credentials.ProjectApiKeyOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Credentials.ProjectApiKey.Builder setCreatedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
       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

      public Credentials.ProjectApiKey.Builder 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:
      getCreatedAtOrBuilder in interface Credentials.ProjectApiKeyOrBuilder
    • setUnknownFields

      public final Credentials.ProjectApiKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>
    • mergeUnknownFields

      public final Credentials.ProjectApiKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Credentials.ProjectApiKey.Builder>