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