Class Documentation.Builder (0.36.0)

public static final class Documentation.Builder extends GeneratedMessage.Builder<Documentation.Builder> implements DocumentationOrBuilder

Documentation details.

Protobuf type google.cloud.apihub.v1.Documentation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Documentation build()
Returns
Type Description
Documentation

buildPartial()

public Documentation buildPartial()
Returns
Type Description
Documentation

clear()

public Documentation.Builder clear()
Returns
Type Description
Documentation.Builder
Overrides

clearExternalUri()

public Documentation.Builder clearExternalUri()

Optional. The uri of the externally hosted documentation.

string external_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Documentation.Builder

This builder for chaining.

getDefaultInstanceForType()

public Documentation getDefaultInstanceForType()
Returns
Type Description
Documentation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalUri()

public String getExternalUri()

Optional. The uri of the externally hosted documentation.

string external_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The externalUri.

getExternalUriBytes()

public ByteString getExternalUriBytes()

Optional. The uri of the externally hosted documentation.

string external_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for externalUri.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Documentation other)

public Documentation.Builder mergeFrom(Documentation other)
Parameter
Name Description
other Documentation
Returns
Type Description
Documentation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Documentation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Documentation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Documentation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Documentation.Builder
Overrides

setExternalUri(String value)

public Documentation.Builder setExternalUri(String value)

Optional. The uri of the externally hosted documentation.

string external_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The externalUri to set.

Returns
Type Description
Documentation.Builder

This builder for chaining.

setExternalUriBytes(ByteString value)

public Documentation.Builder setExternalUriBytes(ByteString value)

Optional. The uri of the externally hosted documentation.

string external_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for externalUri to set.

Returns
Type Description
Documentation.Builder

This builder for chaining.