public static final class Documentation.Builder extends GeneratedMessageV3.Builder<Documentation.Builder> implements DocumentationOrBuilder
Documentation details.
Protobuf type google.cloud.apihub.v1.Documentation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Documentation.BuilderImplements
DocumentationOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public Documentation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Documentation.Builder |
clone()
public Documentation.Builder clone()
Returns | |
---|---|
Type | Description |
Documentation.Builder |
getDefaultInstanceForType()
public Documentation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Documentation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Documentation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Documentation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Documentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Documentation.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Documentation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Documentation.Builder |