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

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

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

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

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

        public String getServiceAttachment()
         Required. A service attachment that exposes a database, and has the
         following format:
         projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
         
        string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceAttachment in interface PrivateServiceConnectConnectivityOrBuilder
        Returns:
        The serviceAttachment.
      • getServiceAttachmentBytes

        public com.google.protobuf.ByteString getServiceAttachmentBytes()
         Required. A service attachment that exposes a database, and has the
         following format:
         projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
         
        string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceAttachmentBytes in interface PrivateServiceConnectConnectivityOrBuilder
        Returns:
        The bytes for serviceAttachment.
      • setServiceAttachment

        public PrivateServiceConnectConnectivity.Builder setServiceAttachment​(String value)
         Required. A service attachment that exposes a database, and has the
         following format:
         projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
         
        string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The serviceAttachment to set.
        Returns:
        This builder for chaining.
      • clearServiceAttachment

        public PrivateServiceConnectConnectivity.Builder clearServiceAttachment()
         Required. A service attachment that exposes a database, and has the
         following format:
         projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
         
        string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setServiceAttachmentBytes

        public PrivateServiceConnectConnectivity.Builder setServiceAttachmentBytes​(com.google.protobuf.ByteString value)
         Required. A service attachment that exposes a database, and has the
         following format:
         projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
         
        string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for serviceAttachment to set.
        Returns:
        This builder for chaining.