Class UpdateStyleGuideRequest.Builder

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

public static final class UpdateStyleGuideRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateStyleGuideRequest.Builder> implements UpdateStyleGuideRequestOrBuilder
 The
 [UpdateStyleGuide][google.cloud.apihub.v1.LintingService.UpdateStyleGuide]
 method's request.
 
Protobuf type google.cloud.apihub.v1.UpdateStyleGuideRequest
  • 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<UpdateStyleGuideRequest.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<UpdateStyleGuideRequest.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<UpdateStyleGuideRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateStyleGuideRequest.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<UpdateStyleGuideRequest.Builder>
      Throws:
      IOException
    • hasStyleGuide

      public boolean hasStyleGuide()
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasStyleGuide in interface UpdateStyleGuideRequestOrBuilder
      Returns:
      Whether the styleGuide field is set.
    • getStyleGuide

      public StyleGuide getStyleGuide()
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStyleGuide in interface UpdateStyleGuideRequestOrBuilder
      Returns:
      The styleGuide.
    • setStyleGuide

      public UpdateStyleGuideRequest.Builder setStyleGuide(StyleGuide value)
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
    • setStyleGuide

      public UpdateStyleGuideRequest.Builder setStyleGuide(StyleGuide.Builder builderForValue)
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeStyleGuide

      public UpdateStyleGuideRequest.Builder mergeStyleGuide(StyleGuide value)
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearStyleGuide

      public UpdateStyleGuideRequest.Builder clearStyleGuide()
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
    • getStyleGuideBuilder

      public StyleGuide.Builder getStyleGuideBuilder()
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
    • getStyleGuideOrBuilder

      public StyleGuideOrBuilder getStyleGuideOrBuilder()
       Required. The Style guide resource to update.
       
      .google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStyleGuideOrBuilder in interface UpdateStyleGuideRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateStyleGuideRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateStyleGuideRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateStyleGuideRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateStyleGuideRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateStyleGuideRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateStyleGuideRequest.Builder clearUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateStyleGuideRequestOrBuilder