Class HttpOperationDetails.QueryParam.Builder (0.28.0)

public static final class HttpOperationDetails.QueryParam.Builder extends GeneratedMessageV3.Builder<HttpOperationDetails.QueryParam.Builder> implements HttpOperationDetails.QueryParamOrBuilder

An aggregation of HTTP query parameter occurrences.

Protobuf type google.cloud.apihub.v1.HttpOperationDetails.QueryParam

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public HttpOperationDetails.QueryParam.Builder clone()
Returns
Type Description
HttpOperationDetails.QueryParam.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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 long

The 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.DataType

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

The enum numeric value on the wire for dataType to set.

Returns
Type Description
HttpOperationDetails.QueryParam.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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 String

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

The bytes for name to set.

Returns
Type Description
HttpOperationDetails.QueryParam.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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