Class AlloyDbConnectionProfile.Builder

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

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

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

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

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

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

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

        public AlloyDbConnectionProfile.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<AlloyDbConnectionProfile.Builder>
        Throws:
        IOException
      • getClusterId

        public String getClusterId()
         Required. The AlloyDB cluster ID that this connection profile is associated
         with.
         
        string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterId in interface AlloyDbConnectionProfileOrBuilder
        Returns:
        The clusterId.
      • getClusterIdBytes

        public com.google.protobuf.ByteString getClusterIdBytes()
         Required. The AlloyDB cluster ID that this connection profile is associated
         with.
         
        string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIdBytes in interface AlloyDbConnectionProfileOrBuilder
        Returns:
        The bytes for clusterId.
      • setClusterId

        public AlloyDbConnectionProfile.Builder setClusterId​(String value)
         Required. The AlloyDB cluster ID that this connection profile is associated
         with.
         
        string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The clusterId to set.
        Returns:
        This builder for chaining.
      • clearClusterId

        public AlloyDbConnectionProfile.Builder clearClusterId()
         Required. The AlloyDB cluster ID that this connection profile is associated
         with.
         
        string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setClusterIdBytes

        public AlloyDbConnectionProfile.Builder setClusterIdBytes​(com.google.protobuf.ByteString value)
         Required. The AlloyDB cluster ID that this connection profile is associated
         with.
         
        string cluster_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for clusterId to set.
        Returns:
        This builder for chaining.
      • hasSettings

        public boolean hasSettings()
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasSettings in interface AlloyDbConnectionProfileOrBuilder
        Returns:
        Whether the settings field is set.
      • getSettings

        public AlloyDbSettings getSettings()
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getSettings in interface AlloyDbConnectionProfileOrBuilder
        Returns:
        The settings.
      • setSettings

        public AlloyDbConnectionProfile.Builder setSettings​(AlloyDbSettings value)
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
      • setSettings

        public AlloyDbConnectionProfile.Builder setSettings​(AlloyDbSettings.Builder builderForValue)
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeSettings

        public AlloyDbConnectionProfile.Builder mergeSettings​(AlloyDbSettings value)
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
      • clearSettings

        public AlloyDbConnectionProfile.Builder clearSettings()
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
      • getSettingsBuilder

        public AlloyDbSettings.Builder getSettingsBuilder()
         Immutable. Metadata used to create the destination AlloyDB cluster.
         
        .google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
      • setUnknownFields

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

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