Interface StyleGuideOrBuilder (0.4.0)

public interface StyleGuideOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents()

public abstract 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
Type Description
StyleGuideContents

The contents.

getContentsOrBuilder()

public abstract 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];

Returns
Type Description
StyleGuideContentsOrBuilder

getLinter()

public abstract Linter getLinter()

Required. Target linter for the style guide.

.google.cloud.apihub.v1.Linter linter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Linter

The linter.

getLinterValue()

public abstract int getLinterValue()

Required. Target linter for the style guide.

.google.cloud.apihub.v1.Linter linter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for linter.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

hasContents()

public abstract 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
Type Description
boolean

Whether the contents field is set.