Class Documentation.Builder (0.1.0)

public static final class Documentation.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Documentation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Documentation.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Documentation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Documentation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Documentation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Documentation.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Documentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Documentation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Documentation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Documentation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Documentation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Documentation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Documentation.Builder
Overrides