public static final class HttpOperation.Builder extends GeneratedMessage.Builder<HttpOperation.Builder> implements HttpOperationOrBuilderThe HTTP Operation.
Protobuf type google.cloud.apihub.v1.HttpOperation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HttpOperation.BuilderImplements
HttpOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HttpOperation build()| Returns | |
|---|---|
| Type | Description |
HttpOperation |
|
buildPartial()
public HttpOperation buildPartial()| Returns | |
|---|---|
| Type | Description |
HttpOperation |
|
clear()
public HttpOperation.Builder clear()| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
clearMethod()
public HttpOperation.Builder clearMethod()Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
This builder for chaining. |
clearPath()
public HttpOperation.Builder clearPath()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
getDefaultInstanceForType()
public HttpOperation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HttpOperation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMethod()
public HttpOperation.Method getMethod()Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Method |
The method. |
getMethodValue()
public int getMethodValue()Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for method. |
getPath()
public Path getPath()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Path |
The path. |
getPathBuilder()
public Path.Builder getPathBuilder()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Path.Builder |
|
getPathOrBuilder()
public PathOrBuilder getPathOrBuilder()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PathOrBuilder |
|
hasPath()
public boolean hasPath()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the path field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HttpOperation other)
public HttpOperation.Builder mergeFrom(HttpOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpOperation |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HttpOperation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
mergePath(Path value)
public HttpOperation.Builder mergePath(Path value)Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Path |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
setMethod(HttpOperation.Method value)
public HttpOperation.Builder setMethod(HttpOperation.Method value)Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperation.MethodThe method to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
This builder for chaining. |
setMethodValue(int value)
public HttpOperation.Builder setMethodValue(int value)Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for method to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
This builder for chaining. |
setPath(Path value)
public HttpOperation.Builder setPath(Path value)Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Path |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
setPath(Path.Builder builderForValue)
public HttpOperation.Builder setPath(Path.Builder builderForValue)Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Path.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|