Class PrivateEndpoints.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivateEndpoints.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.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.v1.PrivateEndpoints
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public PrivateEndpoints.Builder mergeFrom(PrivateEndpoints other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.