public static final class DiscoveredApiOperation.MatchResult.Builder extends GeneratedMessage.Builder<DiscoveredApiOperation.MatchResult.Builder> implements DiscoveredApiOperation.MatchResultOrBuilderMatchResult represents the result of matching a discovered API operation with a catalog API operation.
Protobuf type google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveredApiOperation.MatchResult.BuilderImplements
DiscoveredApiOperation.MatchResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiscoveredApiOperation.MatchResult build()| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult |
|
buildPartial()
public DiscoveredApiOperation.MatchResult buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult |
|
clear()
public DiscoveredApiOperation.MatchResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
|
clearName()
public DiscoveredApiOperation.MatchResult.Builder clearName()Output only. The name of the matched API Operation.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DiscoveredApiOperation.MatchResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Output only. The name of the matched API Operation.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The name of the matched API Operation.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DiscoveredApiOperation.MatchResult other)
public DiscoveredApiOperation.MatchResult.Builder mergeFrom(DiscoveredApiOperation.MatchResult other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveredApiOperation.MatchResult |
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveredApiOperation.MatchResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveredApiOperation.MatchResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
|
setName(String value)
public DiscoveredApiOperation.MatchResult.Builder setName(String value)Output only. The name of the matched API Operation.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DiscoveredApiOperation.MatchResult.Builder setNameBytes(ByteString value)Output only. The name of the matched API Operation.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveredApiOperation.MatchResult.Builder |
This builder for chaining. |