public static final class Path.Builder extends GeneratedMessage.Builder<Path.Builder> implements PathOrBuilderThe path details derived from the spec.
Protobuf type google.cloud.apihub.v1.Path
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Path.BuilderImplements
PathOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDescription()
public Path.Builder clearDescription()Optional. A short description for the path applicable to all operations.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |
clearPath()
public Path.Builder clearPath()Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Path getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Path |
|
getDescription()
public String getDescription()Optional. A short description for the path applicable to all operations.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A short description for the path applicable to all operations.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPath()
public String getPath()Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Path.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
|
setDescription(String value)
public Path.Builder setDescription(String value)Optional. A short description for the path applicable to all operations.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Path.Builder setDescriptionBytes(ByteString value)Optional. A short description for the path applicable to all operations.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |
setPath(String value)
public Path.Builder setPath(String value)Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public Path.Builder setPathBytes(ByteString value)Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
This builder for chaining. |