Class UpdateMeshRequest.Builder

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

public static final class UpdateMeshRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateMeshRequest.Builder> implements UpdateMeshRequestOrBuilder
 Request used by the UpdateMesh method.
 
Protobuf type google.cloud.networkservices.v1.UpdateMeshRequest
  • 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<UpdateMeshRequest.Builder>
    • clear

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

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

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

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

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

      public UpdateMeshRequest.Builder mergeFrom(UpdateMeshRequest other)
    • isInitialized

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

      public UpdateMeshRequest.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<UpdateMeshRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateMeshRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateMeshRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateMeshRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateMeshRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateMeshRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateMeshRequest.Builder clearUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Mesh resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateMeshRequestOrBuilder
    • hasMesh

      public boolean hasMesh()
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMesh in interface UpdateMeshRequestOrBuilder
      Returns:
      Whether the mesh field is set.
    • getMesh

      public Mesh getMesh()
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMesh in interface UpdateMeshRequestOrBuilder
      Returns:
      The mesh.
    • setMesh

      public UpdateMeshRequest.Builder setMesh(Mesh value)
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
    • setMesh

      public UpdateMeshRequest.Builder setMesh(Mesh.Builder builderForValue)
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeMesh

      public UpdateMeshRequest.Builder mergeMesh(Mesh value)
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearMesh

      public UpdateMeshRequest.Builder clearMesh()
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
    • getMeshBuilder

      public Mesh.Builder getMeshBuilder()
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
    • getMeshOrBuilder

      public MeshOrBuilder getMeshOrBuilder()
       Required. Updated Mesh resource.
       
      .google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMeshOrBuilder in interface UpdateMeshRequestOrBuilder