Class StreamRawPredictRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder>
com.google.cloud.aiplatform.v1.StreamRawPredictRequest.Builder
All Implemented Interfaces:
StreamRawPredictRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StreamRawPredictRequest

public static final class StreamRawPredictRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder> implements StreamRawPredictRequestOrBuilder
 Request message for
 [PredictionService.StreamRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamRawPredict].
 
Protobuf type google.cloud.aiplatform.v1.StreamRawPredictRequest
  • 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<StreamRawPredictRequest.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<StreamRawPredictRequest.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<StreamRawPredictRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public StreamRawPredictRequest.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<StreamRawPredictRequest.Builder>
      Throws:
      IOException
    • getEndpoint

      public String getEndpoint()
       Required. The name of the Endpoint requested to serve the prediction.
       Format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEndpoint in interface StreamRawPredictRequestOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Required. The name of the Endpoint requested to serve the prediction.
       Format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEndpointBytes in interface StreamRawPredictRequestOrBuilder
      Returns:
      The bytes for endpoint.
    • setEndpoint

      public StreamRawPredictRequest.Builder setEndpoint(String value)
       Required. The name of the Endpoint requested to serve the prediction.
       Format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public StreamRawPredictRequest.Builder clearEndpoint()
       Required. The name of the Endpoint requested to serve the prediction.
       Format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public StreamRawPredictRequest.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Required. The name of the Endpoint requested to serve the prediction.
       Format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • hasHttpBody

      public boolean hasHttpBody()
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
      Specified by:
      hasHttpBody in interface StreamRawPredictRequestOrBuilder
      Returns:
      Whether the httpBody field is set.
    • getHttpBody

      public HttpBody getHttpBody()
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
      Specified by:
      getHttpBody in interface StreamRawPredictRequestOrBuilder
      Returns:
      The httpBody.
    • setHttpBody

      public StreamRawPredictRequest.Builder setHttpBody(HttpBody value)
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
    • setHttpBody

      public StreamRawPredictRequest.Builder setHttpBody(HttpBody.Builder builderForValue)
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
    • mergeHttpBody

      public StreamRawPredictRequest.Builder mergeHttpBody(HttpBody value)
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
    • clearHttpBody

      public StreamRawPredictRequest.Builder clearHttpBody()
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
    • getHttpBodyBuilder

      public HttpBody.Builder getHttpBodyBuilder()
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
    • getHttpBodyOrBuilder

      public HttpBodyOrBuilder getHttpBodyOrBuilder()
       The prediction input. Supports HTTP headers and arbitrary data payload.
       
      .google.api.HttpBody http_body = 2;
      Specified by:
      getHttpBodyOrBuilder in interface StreamRawPredictRequestOrBuilder