Class ExtensionOperation.Builder

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

public static final class ExtensionOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExtensionOperation.Builder> implements ExtensionOperationOrBuilder
 Operation of an extension.
 
Protobuf type google.cloud.aiplatform.v1beta1.ExtensionOperation
  • 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<ExtensionOperation.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<ExtensionOperation.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<ExtensionOperation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ExtensionOperation.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<ExtensionOperation.Builder>
      Throws:
      IOException
    • getOperationId

      public String getOperationId()
       Operation ID that uniquely identifies the operations among the extension.
       See: "Operation Object" in https://swagger.io/specification/.
      
       This field is parsed from the OpenAPI spec. For HTTP extensions, if it does
       not exist in the spec, we will generate one from the HTTP method and path.
       
      string operation_id = 1;
      Specified by:
      getOperationId in interface ExtensionOperationOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
       Operation ID that uniquely identifies the operations among the extension.
       See: "Operation Object" in https://swagger.io/specification/.
      
       This field is parsed from the OpenAPI spec. For HTTP extensions, if it does
       not exist in the spec, we will generate one from the HTTP method and path.
       
      string operation_id = 1;
      Specified by:
      getOperationIdBytes in interface ExtensionOperationOrBuilder
      Returns:
      The bytes for operationId.
    • setOperationId

      public ExtensionOperation.Builder setOperationId(String value)
       Operation ID that uniquely identifies the operations among the extension.
       See: "Operation Object" in https://swagger.io/specification/.
      
       This field is parsed from the OpenAPI spec. For HTTP extensions, if it does
       not exist in the spec, we will generate one from the HTTP method and path.
       
      string operation_id = 1;
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      public ExtensionOperation.Builder clearOperationId()
       Operation ID that uniquely identifies the operations among the extension.
       See: "Operation Object" in https://swagger.io/specification/.
      
       This field is parsed from the OpenAPI spec. For HTTP extensions, if it does
       not exist in the spec, we will generate one from the HTTP method and path.
       
      string operation_id = 1;
      Returns:
      This builder for chaining.
    • setOperationIdBytes

      public ExtensionOperation.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
       Operation ID that uniquely identifies the operations among the extension.
       See: "Operation Object" in https://swagger.io/specification/.
      
       This field is parsed from the OpenAPI spec. For HTTP extensions, if it does
       not exist in the spec, we will generate one from the HTTP method and path.
       
      string operation_id = 1;
      Parameters:
      value - The bytes for operationId to set.
      Returns:
      This builder for chaining.
    • hasFunctionDeclaration

      public boolean hasFunctionDeclaration()
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasFunctionDeclaration in interface ExtensionOperationOrBuilder
      Returns:
      Whether the functionDeclaration field is set.
    • getFunctionDeclaration

      public FunctionDeclaration getFunctionDeclaration()
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFunctionDeclaration in interface ExtensionOperationOrBuilder
      Returns:
      The functionDeclaration.
    • setFunctionDeclaration

      public ExtensionOperation.Builder setFunctionDeclaration(FunctionDeclaration value)
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setFunctionDeclaration

      public ExtensionOperation.Builder setFunctionDeclaration(FunctionDeclaration.Builder builderForValue)
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeFunctionDeclaration

      public ExtensionOperation.Builder mergeFunctionDeclaration(FunctionDeclaration value)
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearFunctionDeclaration

      public ExtensionOperation.Builder clearFunctionDeclaration()
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFunctionDeclarationBuilder

      public FunctionDeclaration.Builder getFunctionDeclarationBuilder()
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFunctionDeclarationOrBuilder

      public FunctionDeclarationOrBuilder getFunctionDeclarationOrBuilder()
       Output only. Structured representation of a function declaration as defined
       by the OpenAPI Spec.
       
      .google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFunctionDeclarationOrBuilder in interface ExtensionOperationOrBuilder