Class HttpOperation.Builder (0.5.0)

public static final class HttpOperation.Builder extends GeneratedMessageV3.Builder<HttpOperation.Builder> implements HttpOperationOrBuilder

The HTTP Operation.

Protobuf type google.cloud.apihub.v1.HttpOperation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMethod()

public HttpOperation.Builder clearMethod()

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HttpOperation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public HttpOperation.Builder clearPath()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HttpOperation.Builder

clone()

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

getDefaultInstanceForType()

public HttpOperation getDefaultInstanceForType()
Returns
Type Description
HttpOperation

getDescriptorForType()

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

getMethod()

public HttpOperation.Method getMethod()

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HttpOperation.Method

The method.

getMethodValue()

public int getMethodValue()

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for method.

getPath()

public Path getPath()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Path

The path.

getPathBuilder()

public Path.Builder getPathBuilder()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Path.Builder

getPathOrBuilder()

public PathOrBuilder getPathOrBuilder()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PathOrBuilder

hasPath()

public boolean hasPath()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the path field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergePath(Path value)

public HttpOperation.Builder mergePath(Path value)

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Path
Returns
Type Description
HttpOperation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMethod(HttpOperation.Method value)

public HttpOperation.Builder setMethod(HttpOperation.Method value)

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value HttpOperation.Method

The method to set.

Returns
Type Description
HttpOperation.Builder

This builder for chaining.

setMethodValue(int value)

public HttpOperation.Builder setMethodValue(int value)

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The 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)

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Path
Returns
Type Description
HttpOperation.Builder

setPath(Path.Builder builderForValue)

public HttpOperation.Builder setPath(Path.Builder builderForValue)

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Path.Builder
Returns
Type Description
HttpOperation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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