Class HttpOperationDetails.Header.Builder (0.28.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class HttpOperationDetails . Header . Builder extends GeneratedMessageV3 . Builder<HttpOperationDetails . Header . Builder > implements HttpOperationDetails . HeaderOrBuilder
An aggregation of HTTP header occurrences.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails.Header
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public HttpOperationDetails . Header . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public HttpOperationDetails . Header build ()
public HttpOperationDetails . Header buildPartial ()
public HttpOperationDetails . Header . Builder clear ()
Overrides
public HttpOperationDetails . Header . Builder clearCount ()
The number of occurrences of this Header across transactions.
int64 count = 2;
public HttpOperationDetails . Header . Builder clearDataType ()
Data type of header
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3;
public HttpOperationDetails . Header . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public HttpOperationDetails . Header . Builder clearName ()
Header name.
string name = 1;
public HttpOperationDetails . Header . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public HttpOperationDetails . Header . Builder clone ()
Overrides
The number of occurrences of this Header across transactions.
int64 count = 2;
Returns
Type
Description
long
The count.
public HttpOperationDetails . DataType getDataType ()
Data type of header
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3;
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.
public HttpOperationDetails . Header getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
Header name.
string name = 1;
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Header name.
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public HttpOperationDetails . Header . Builder mergeFrom ( HttpOperationDetails . Header other )
public HttpOperationDetails . Header . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public HttpOperationDetails . Header . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final HttpOperationDetails . Header . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public HttpOperationDetails . Header . Builder setCount ( long value )
The number of occurrences of this Header across transactions.
int64 count = 2;
Parameter
Name
Description
value
long
The count to set.
public HttpOperationDetails . Header . Builder setDataType ( HttpOperationDetails . DataType value )
Data type of header
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3;
public HttpOperationDetails . Header . Builder setDataTypeValue ( int value )
Data type of header
.google.cloud.apihub.v1.HttpOperationDetails.DataType data_type = 3;
Parameter
Name
Description
value
int
The enum numeric value on the wire for dataType to set.
public HttpOperationDetails . Header . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public HttpOperationDetails . Header . Builder setName ( String value )
Header name.
string name = 1;
Parameter
Name
Description
value
String
The name to set.
public HttpOperationDetails . Header . Builder setNameBytes ( ByteString value )
Header name.
string name = 1;
Parameter
Name
Description
value
ByteString
The bytes for name to set.
public HttpOperationDetails . Header . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final HttpOperationDetails . Header . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[],null,[]]