Class AzureProperties.Builder

  • All Implemented Interfaces:
    AzurePropertiesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AzureProperties

    public static final class AzureProperties.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AzureProperties.Builder>
    implements AzurePropertiesOrBuilder
     Container for connection properties specific to Azure.
     
    Protobuf type google.cloud.bigquery.connection.v1.AzureProperties
    • 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<AzureProperties.Builder>
      • clear

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

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

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

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

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

        public AzureProperties.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<AzureProperties.Builder>
      • clearField

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

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

        public AzureProperties.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<AzureProperties.Builder>
      • addRepeatedField

        public AzureProperties.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<AzureProperties.Builder>
      • mergeFrom

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

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

        public AzureProperties.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<AzureProperties.Builder>
        Throws:
        IOException
      • getApplication

        public String getApplication()
         Output only. The name of the Azure Active Directory Application.
         
        string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApplication in interface AzurePropertiesOrBuilder
        Returns:
        The application.
      • getApplicationBytes

        public com.google.protobuf.ByteString getApplicationBytes()
         Output only. The name of the Azure Active Directory Application.
         
        string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApplicationBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for application.
      • setApplication

        public AzureProperties.Builder setApplication​(String value)
         Output only. The name of the Azure Active Directory Application.
         
        string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The application to set.
        Returns:
        This builder for chaining.
      • clearApplication

        public AzureProperties.Builder clearApplication()
         Output only. The name of the Azure Active Directory Application.
         
        string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setApplicationBytes

        public AzureProperties.Builder setApplicationBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the Azure Active Directory Application.
         
        string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for application to set.
        Returns:
        This builder for chaining.
      • getClientId

        public String getClientId()
         Output only. The client id of the Azure Active Directory Application.
         
        string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientId in interface AzurePropertiesOrBuilder
        Returns:
        The clientId.
      • getClientIdBytes

        public com.google.protobuf.ByteString getClientIdBytes()
         Output only. The client id of the Azure Active Directory Application.
         
        string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientIdBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for clientId.
      • setClientId

        public AzureProperties.Builder setClientId​(String value)
         Output only. The client id of the Azure Active Directory Application.
         
        string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        public AzureProperties.Builder clearClientId()
         Output only. The client id of the Azure Active Directory Application.
         
        string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public AzureProperties.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         Output only. The client id of the Azure Active Directory Application.
         
        string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • getObjectId

        public String getObjectId()
         Output only. The object id of the Azure Active Directory Application.
         
        string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getObjectId in interface AzurePropertiesOrBuilder
        Returns:
        The objectId.
      • getObjectIdBytes

        public com.google.protobuf.ByteString getObjectIdBytes()
         Output only. The object id of the Azure Active Directory Application.
         
        string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getObjectIdBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for objectId.
      • setObjectId

        public AzureProperties.Builder setObjectId​(String value)
         Output only. The object id of the Azure Active Directory Application.
         
        string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The objectId to set.
        Returns:
        This builder for chaining.
      • clearObjectId

        public AzureProperties.Builder clearObjectId()
         Output only. The object id of the Azure Active Directory Application.
         
        string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setObjectIdBytes

        public AzureProperties.Builder setObjectIdBytes​(com.google.protobuf.ByteString value)
         Output only. The object id of the Azure Active Directory Application.
         
        string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for objectId to set.
        Returns:
        This builder for chaining.
      • getCustomerTenantId

        public String getCustomerTenantId()
         The id of customer's directory that host the data.
         
        string customer_tenant_id = 4;
        Specified by:
        getCustomerTenantId in interface AzurePropertiesOrBuilder
        Returns:
        The customerTenantId.
      • getCustomerTenantIdBytes

        public com.google.protobuf.ByteString getCustomerTenantIdBytes()
         The id of customer's directory that host the data.
         
        string customer_tenant_id = 4;
        Specified by:
        getCustomerTenantIdBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for customerTenantId.
      • setCustomerTenantId

        public AzureProperties.Builder setCustomerTenantId​(String value)
         The id of customer's directory that host the data.
         
        string customer_tenant_id = 4;
        Parameters:
        value - The customerTenantId to set.
        Returns:
        This builder for chaining.
      • clearCustomerTenantId

        public AzureProperties.Builder clearCustomerTenantId()
         The id of customer's directory that host the data.
         
        string customer_tenant_id = 4;
        Returns:
        This builder for chaining.
      • setCustomerTenantIdBytes

        public AzureProperties.Builder setCustomerTenantIdBytes​(com.google.protobuf.ByteString value)
         The id of customer's directory that host the data.
         
        string customer_tenant_id = 4;
        Parameters:
        value - The bytes for customerTenantId to set.
        Returns:
        This builder for chaining.
      • getRedirectUri

        public String getRedirectUri()
         The URL user will be redirected to after granting consent during connection
         setup.
         
        string redirect_uri = 5;
        Specified by:
        getRedirectUri in interface AzurePropertiesOrBuilder
        Returns:
        The redirectUri.
      • getRedirectUriBytes

        public com.google.protobuf.ByteString getRedirectUriBytes()
         The URL user will be redirected to after granting consent during connection
         setup.
         
        string redirect_uri = 5;
        Specified by:
        getRedirectUriBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for redirectUri.
      • setRedirectUri

        public AzureProperties.Builder setRedirectUri​(String value)
         The URL user will be redirected to after granting consent during connection
         setup.
         
        string redirect_uri = 5;
        Parameters:
        value - The redirectUri to set.
        Returns:
        This builder for chaining.
      • clearRedirectUri

        public AzureProperties.Builder clearRedirectUri()
         The URL user will be redirected to after granting consent during connection
         setup.
         
        string redirect_uri = 5;
        Returns:
        This builder for chaining.
      • setRedirectUriBytes

        public AzureProperties.Builder setRedirectUriBytes​(com.google.protobuf.ByteString value)
         The URL user will be redirected to after granting consent during connection
         setup.
         
        string redirect_uri = 5;
        Parameters:
        value - The bytes for redirectUri to set.
        Returns:
        This builder for chaining.
      • getFederatedApplicationClientId

        public String getFederatedApplicationClientId()
         The client ID of the user's Azure Active Directory Application used for a
         federated connection.
         
        string federated_application_client_id = 6;
        Specified by:
        getFederatedApplicationClientId in interface AzurePropertiesOrBuilder
        Returns:
        The federatedApplicationClientId.
      • getFederatedApplicationClientIdBytes

        public com.google.protobuf.ByteString getFederatedApplicationClientIdBytes()
         The client ID of the user's Azure Active Directory Application used for a
         federated connection.
         
        string federated_application_client_id = 6;
        Specified by:
        getFederatedApplicationClientIdBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for federatedApplicationClientId.
      • setFederatedApplicationClientId

        public AzureProperties.Builder setFederatedApplicationClientId​(String value)
         The client ID of the user's Azure Active Directory Application used for a
         federated connection.
         
        string federated_application_client_id = 6;
        Parameters:
        value - The federatedApplicationClientId to set.
        Returns:
        This builder for chaining.
      • clearFederatedApplicationClientId

        public AzureProperties.Builder clearFederatedApplicationClientId()
         The client ID of the user's Azure Active Directory Application used for a
         federated connection.
         
        string federated_application_client_id = 6;
        Returns:
        This builder for chaining.
      • setFederatedApplicationClientIdBytes

        public AzureProperties.Builder setFederatedApplicationClientIdBytes​(com.google.protobuf.ByteString value)
         The client ID of the user's Azure Active Directory Application used for a
         federated connection.
         
        string federated_application_client_id = 6;
        Parameters:
        value - The bytes for federatedApplicationClientId to set.
        Returns:
        This builder for chaining.
      • getIdentity

        public String getIdentity()
         Output only. A unique Google-owned and Google-generated identity for the
         Connection. This identity will be used to access the user's Azure Active
         Directory Application.
         
        string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdentity in interface AzurePropertiesOrBuilder
        Returns:
        The identity.
      • getIdentityBytes

        public com.google.protobuf.ByteString getIdentityBytes()
         Output only. A unique Google-owned and Google-generated identity for the
         Connection. This identity will be used to access the user's Azure Active
         Directory Application.
         
        string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdentityBytes in interface AzurePropertiesOrBuilder
        Returns:
        The bytes for identity.
      • setIdentity

        public AzureProperties.Builder setIdentity​(String value)
         Output only. A unique Google-owned and Google-generated identity for the
         Connection. This identity will be used to access the user's Azure Active
         Directory Application.
         
        string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • clearIdentity

        public AzureProperties.Builder clearIdentity()
         Output only. A unique Google-owned and Google-generated identity for the
         Connection. This identity will be used to access the user's Azure Active
         Directory Application.
         
        string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public AzureProperties.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         Output only. A unique Google-owned and Google-generated identity for the
         Connection. This identity will be used to access the user's Azure Active
         Directory Application.
         
        string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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