Class UpdatePersistentResourceRequest.Builder

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

public static final class UpdatePersistentResourceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePersistentResourceRequest.Builder> implements UpdatePersistentResourceRequestOrBuilder
 Request message for UpdatePersistentResource method.
 
Protobuf type google.cloud.aiplatform.v1.UpdatePersistentResourceRequest
  • 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<UpdatePersistentResourceRequest.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<UpdatePersistentResourceRequest.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<UpdatePersistentResourceRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public UpdatePersistentResourceRequest.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<UpdatePersistentResourceRequest.Builder>
      Throws:
      IOException
    • hasPersistentResource

      public boolean hasPersistentResource()
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPersistentResource in interface UpdatePersistentResourceRequestOrBuilder
      Returns:
      Whether the persistentResource field is set.
    • getPersistentResource

      public PersistentResource getPersistentResource()
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPersistentResource in interface UpdatePersistentResourceRequestOrBuilder
      Returns:
      The persistentResource.
    • setPersistentResource

      public UpdatePersistentResourceRequest.Builder setPersistentResource(PersistentResource value)
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPersistentResource

      public UpdatePersistentResourceRequest.Builder setPersistentResource(PersistentResource.Builder builderForValue)
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePersistentResource

      public UpdatePersistentResourceRequest.Builder mergePersistentResource(PersistentResource value)
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPersistentResource

      public UpdatePersistentResourceRequest.Builder clearPersistentResource()
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPersistentResourceBuilder

      public PersistentResource.Builder getPersistentResourceBuilder()
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPersistentResourceOrBuilder

      public PersistentResourceOrBuilder getPersistentResourceOrBuilder()
       Required. The PersistentResource to update.
      
       The PersistentResource's `name` field is used to identify the
       PersistentResource to update. Format:
       `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
       
      .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPersistentResourceOrBuilder in interface UpdatePersistentResourceRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdatePersistentResourceRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdatePersistentResourceRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePersistentResourceRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdatePersistentResourceRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdatePersistentResourceRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdatePersistentResourceRequest.Builder clearUpdateMask()
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Specify the fields to be overwritten in the PersistentResource by
       the update method.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePersistentResourceRequestOrBuilder