public static final class HttpOperationDetails.PathParam.Builder extends GeneratedMessage.Builder<HttpOperationDetails.PathParam.Builder> implements HttpOperationDetails.PathParamOrBuilderHTTP Path parameter.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails.PathParam
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HttpOperationDetails.PathParam.BuilderImplements
HttpOperationDetails.PathParamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HttpOperationDetails.PathParam build()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam |
|
buildPartial()
public HttpOperationDetails.PathParam buildPartial()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam |
|
clear()
public HttpOperationDetails.PathParam.Builder clear()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
|
clearDataType()
public HttpOperationDetails.PathParam.Builder clearDataType()Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
This builder for chaining. |
clearPosition()
public HttpOperationDetails.PathParam.Builder clearPosition()Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
This builder for chaining. |
getDataType()
public HttpOperationDetails.DataType getDataType()Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.DataType |
The dataType. |
getDataTypeValue()
public int getDataTypeValue()Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataType. |
getDefaultInstanceForType()
public HttpOperationDetails.PathParam getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPosition()
public int getPosition()Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The position. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HttpOperationDetails.PathParam other)
public HttpOperationDetails.PathParam.Builder mergeFrom(HttpOperationDetails.PathParam other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpOperationDetails.PathParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpOperationDetails.PathParam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HttpOperationDetails.PathParam.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
|
setDataType(HttpOperationDetails.DataType value)
public HttpOperationDetails.PathParam.Builder setDataType(HttpOperationDetails.DataType value)Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.DataTypeThe dataType to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
This builder for chaining. |
setDataTypeValue(int value)
public HttpOperationDetails.PathParam.Builder setDataTypeValue(int value)Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dataType to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
This builder for chaining. |
setPosition(int value)
public HttpOperationDetails.PathParam.Builder setPosition(int value)Optional. Segment location in the path, 1-indexed
int32 position = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe position to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
This builder for chaining. |