public static final class HttpOperationDetails.QueryParam.Builder extends GeneratedMessage.Builder<HttpOperationDetails.QueryParam.Builder> implements HttpOperationDetails.QueryParamOrBuilderAn aggregation of HTTP query parameter occurrences.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails.QueryParam
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HttpOperationDetails.QueryParam.BuilderImplements
HttpOperationDetails.QueryParamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HttpOperationDetails.QueryParam build()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam |
|
buildPartial()
public HttpOperationDetails.QueryParam buildPartial()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam |
|
clear()
public HttpOperationDetails.QueryParam.Builder clear()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
|
clearCount()
public HttpOperationDetails.QueryParam.Builder clearCount()Optional. The number of occurrences of this query parameter across transactions.
int64 count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
clearDataType()
public HttpOperationDetails.QueryParam.Builder clearDataType()Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
clearName()
public HttpOperationDetails.QueryParam.Builder clearName()Required. Name of query param
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
getCount()
public long getCount()Optional. The number of occurrences of this query parameter across transactions.
int64 count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDataType()
public HttpOperationDetails.DataType getDataType()Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataType. |
getDefaultInstanceForType()
public HttpOperationDetails.QueryParam getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of query param
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of query param
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| 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(HttpOperationDetails.QueryParam other)
public HttpOperationDetails.QueryParam.Builder mergeFrom(HttpOperationDetails.QueryParam other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpOperationDetails.QueryParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpOperationDetails.QueryParam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HttpOperationDetails.QueryParam.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
|
setCount(long value)
public HttpOperationDetails.QueryParam.Builder setCount(long value)Optional. The number of occurrences of this query parameter across transactions.
int64 count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
setDataType(HttpOperationDetails.DataType value)
public HttpOperationDetails.QueryParam.Builder setDataType(HttpOperationDetails.DataType value)Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.DataTypeThe dataType to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
setDataTypeValue(int value)
public HttpOperationDetails.QueryParam.Builder setDataTypeValue(int value)Optional. Data type of path param
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dataType to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
setName(String value)
public HttpOperationDetails.QueryParam.Builder setName(String value)Required. Name of query param
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public HttpOperationDetails.QueryParam.Builder setNameBytes(ByteString value)Required. Name of query param
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.QueryParam.Builder |
This builder for chaining. |