Class PrivateEndpoints.Builder

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

    public static final class PrivateEndpoints.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PrivateEndpoints.Builder>
    implements PrivateEndpointsOrBuilder
     PrivateEndpoints proto is used to provide paths for users to send
     requests privately.
     To send request via private service access, use predict_http_uri,
     explain_http_uri or health_http_uri. To send request via private service
     connect, use service_attachment.
     
    Protobuf type google.cloud.aiplatform.v1beta1.PrivateEndpoints
    • 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<PrivateEndpoints.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public PrivateEndpoints.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<PrivateEndpoints.Builder>
        Throws:
        IOException
      • getPredictHttpUri

        public String getPredictHttpUri()
         Output only. Http(s) path to send prediction requests.
         
        string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPredictHttpUri in interface PrivateEndpointsOrBuilder
        Returns:
        The predictHttpUri.
      • getPredictHttpUriBytes

        public com.google.protobuf.ByteString getPredictHttpUriBytes()
         Output only. Http(s) path to send prediction requests.
         
        string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPredictHttpUriBytes in interface PrivateEndpointsOrBuilder
        Returns:
        The bytes for predictHttpUri.
      • setPredictHttpUri

        public PrivateEndpoints.Builder setPredictHttpUri​(String value)
         Output only. Http(s) path to send prediction requests.
         
        string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The predictHttpUri to set.
        Returns:
        This builder for chaining.
      • clearPredictHttpUri

        public PrivateEndpoints.Builder clearPredictHttpUri()
         Output only. Http(s) path to send prediction requests.
         
        string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPredictHttpUriBytes

        public PrivateEndpoints.Builder setPredictHttpUriBytes​(com.google.protobuf.ByteString value)
         Output only. Http(s) path to send prediction requests.
         
        string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for predictHttpUri to set.
        Returns:
        This builder for chaining.
      • getExplainHttpUri

        public String getExplainHttpUri()
         Output only. Http(s) path to send explain requests.
         
        string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExplainHttpUri in interface PrivateEndpointsOrBuilder
        Returns:
        The explainHttpUri.
      • getExplainHttpUriBytes

        public com.google.protobuf.ByteString getExplainHttpUriBytes()
         Output only. Http(s) path to send explain requests.
         
        string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExplainHttpUriBytes in interface PrivateEndpointsOrBuilder
        Returns:
        The bytes for explainHttpUri.
      • setExplainHttpUri

        public PrivateEndpoints.Builder setExplainHttpUri​(String value)
         Output only. Http(s) path to send explain requests.
         
        string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The explainHttpUri to set.
        Returns:
        This builder for chaining.
      • clearExplainHttpUri

        public PrivateEndpoints.Builder clearExplainHttpUri()
         Output only. Http(s) path to send explain requests.
         
        string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setExplainHttpUriBytes

        public PrivateEndpoints.Builder setExplainHttpUriBytes​(com.google.protobuf.ByteString value)
         Output only. Http(s) path to send explain requests.
         
        string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for explainHttpUri to set.
        Returns:
        This builder for chaining.
      • getHealthHttpUri

        public String getHealthHttpUri()
         Output only. Http(s) path to send health check requests.
         
        string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthHttpUri in interface PrivateEndpointsOrBuilder
        Returns:
        The healthHttpUri.
      • getHealthHttpUriBytes

        public com.google.protobuf.ByteString getHealthHttpUriBytes()
         Output only. Http(s) path to send health check requests.
         
        string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthHttpUriBytes in interface PrivateEndpointsOrBuilder
        Returns:
        The bytes for healthHttpUri.
      • setHealthHttpUri

        public PrivateEndpoints.Builder setHealthHttpUri​(String value)
         Output only. Http(s) path to send health check requests.
         
        string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The healthHttpUri to set.
        Returns:
        This builder for chaining.
      • clearHealthHttpUri

        public PrivateEndpoints.Builder clearHealthHttpUri()
         Output only. Http(s) path to send health check requests.
         
        string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setHealthHttpUriBytes

        public PrivateEndpoints.Builder setHealthHttpUriBytes​(com.google.protobuf.ByteString value)
         Output only. Http(s) path to send health check requests.
         
        string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for healthHttpUri to set.
        Returns:
        This builder for chaining.
      • getServiceAttachment

        public String getServiceAttachment()
         Output only. The name of the service attachment resource. Populated if
         private service connect is enabled.
         
        string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceAttachment in interface PrivateEndpointsOrBuilder
        Returns:
        The serviceAttachment.
      • getServiceAttachmentBytes

        public com.google.protobuf.ByteString getServiceAttachmentBytes()
         Output only. The name of the service attachment resource. Populated if
         private service connect is enabled.
         
        string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceAttachmentBytes in interface PrivateEndpointsOrBuilder
        Returns:
        The bytes for serviceAttachment.
      • setServiceAttachment

        public PrivateEndpoints.Builder setServiceAttachment​(String value)
         Output only. The name of the service attachment resource. Populated if
         private service connect is enabled.
         
        string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The serviceAttachment to set.
        Returns:
        This builder for chaining.
      • clearServiceAttachment

        public PrivateEndpoints.Builder clearServiceAttachment()
         Output only. The name of the service attachment resource. Populated if
         private service connect is enabled.
         
        string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setServiceAttachmentBytes

        public PrivateEndpoints.Builder setServiceAttachmentBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the service attachment resource. Populated if
         private service connect is enabled.
         
        string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for serviceAttachment to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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