Class CreateApiKeyRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateApiKeyRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    CreateApiKeyRequest

    public static final class CreateApiKeyRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CreateApiKeyRequest.Builder>
    implements CreateApiKeyRequestOrBuilder
    Protobuf type temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest
    • Method Detail

      • 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<CreateApiKeyRequest.Builder>
      • clear

        public CreateApiKeyRequest.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<CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • setField

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

        public CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • clearOneof

        public CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • setRepeatedField

        public CreateApiKeyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateApiKeyRequest.Builder>
      • addRepeatedField

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

        public CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateApiKeyRequest.Builder>
      • mergeFrom

        public CreateApiKeyRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws java.io.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<CreateApiKeyRequest.Builder>
        Throws:
        java.io.IOException
      • hasSpec

        public boolean hasSpec()
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
        Specified by:
        hasSpec in interface CreateApiKeyRequestOrBuilder
        Returns:
        Whether the spec field is set.
      • getSpec

        public ApiKeySpec getSpec()
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
        Specified by:
        getSpec in interface CreateApiKeyRequestOrBuilder
        Returns:
        The spec.
      • setSpec

        public CreateApiKeyRequest.Builder setSpec​(ApiKeySpec value)
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
      • setSpec

        public CreateApiKeyRequest.Builder setSpec​(ApiKeySpec.Builder builderForValue)
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
      • mergeSpec

        public CreateApiKeyRequest.Builder mergeSpec​(ApiKeySpec value)
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
      • clearSpec

        public CreateApiKeyRequest.Builder clearSpec()
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
      • getSpecBuilder

        public ApiKeySpec.Builder getSpecBuilder()
         The spec for the api key to create.
         Create api key only supports service-account owner type for now.
         
        .temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The id to use for this async operation - optional.
         
        string async_operation_id = 2;
        Specified by:
        getAsyncOperationId in interface CreateApiKeyRequestOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation - optional.
         
        string async_operation_id = 2;
        Specified by:
        getAsyncOperationIdBytes in interface CreateApiKeyRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public CreateApiKeyRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 2;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public CreateApiKeyRequest.Builder clearAsyncOperationId()
         The id to use for this async operation - optional.
         
        string async_operation_id = 2;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public CreateApiKeyRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 2;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>
      • mergeUnknownFields

        public final CreateApiKeyRequest.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<CreateApiKeyRequest.Builder>