Class Path.Builder (0.2.0)

public static final class Path.Builder extends GeneratedMessageV3.Builder<Path.Builder> implements PathOrBuilder

The path details derived from the spec.

Protobuf type google.cloud.apihub.v1.Path

Implements

PathOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Path build()
Returns
Type Description
Path

buildPartial()

public Path buildPartial()
Returns
Type Description
Path

clear()

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

clearDescription()

public Path.Builder clearDescription()

Output only. A short description for the path applicable to all operations.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Path.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public Path.Builder clearPath()

Output only. Complete path relative to server endpoint.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Path.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Path getDefaultInstanceForType()
Returns
Type Description
Path

getDescription()

public String getDescription()

Output only. A short description for the path applicable to all operations.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A short description for the path applicable to all operations.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getPath()

public String getPath()

Output only. Complete path relative to server endpoint.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Output only. Complete path relative to server endpoint.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Path other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Path.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Path.Builder
Overrides

setDescription(String value)

public Path.Builder setDescription(String value)

Output only. A short description for the path applicable to all operations.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Path.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Path.Builder setDescriptionBytes(ByteString value)

Output only. A short description for the path applicable to all operations.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Path.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public Path.Builder setPath(String value)

Output only. Complete path relative to server endpoint.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
Path.Builder

This builder for chaining.

setPathBytes(ByteString value)

public Path.Builder setPathBytes(ByteString value)

Output only. Complete path relative to server endpoint.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
Path.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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