Interface StyleGuideOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StyleGuide, StyleGuide.Builder

@Generated public interface StyleGuideOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    int
    Required.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Identifier. The name of the style guide.
      
       Format:
       `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the style guide.
      
       Format:
       `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getLinterValue

      int getLinterValue()
       Required. Target linter for the style guide.
       
      .google.cloud.apihub.v1.Linter linter = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for linter.
    • getLinter

      Linter getLinter()
       Required. Target linter for the style guide.
       
      .google.cloud.apihub.v1.Linter linter = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The linter.
    • hasContents

      boolean hasContents()
       Required. Input only. The contents of the uploaded style guide.
       
      .google.cloud.apihub.v1.StyleGuideContents contents = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      Whether the contents field is set.
    • getContents

      StyleGuideContents getContents()
       Required. Input only. The contents of the uploaded style guide.
       
      .google.cloud.apihub.v1.StyleGuideContents contents = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      The contents.
    • getContentsOrBuilder

      StyleGuideContentsOrBuilder getContentsOrBuilder()
       Required. Input only. The contents of the uploaded style guide.
       
      .google.cloud.apihub.v1.StyleGuideContents contents = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];