Send feedback
Class UrlMapTestHeader.Builder (1.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.52.0 keyboard_arrow_down
public static final class UrlMapTestHeader . Builder extends GeneratedMessageV3 . Builder<UrlMapTestHeader . Builder > implements UrlMapTestHeaderOrBuilder
HTTP headers used in UrlMapTests.
Protobuf type google.cloud.compute.v1.UrlMapTestHeader
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 UrlMapTestHeader . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UrlMapTestHeader build ()
public UrlMapTestHeader buildPartial ()
public UrlMapTestHeader . Builder clear ()
Overrides
public UrlMapTestHeader . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public UrlMapTestHeader . Builder clearName ()
Header name.
optional string name = 3373707;
public UrlMapTestHeader . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public UrlMapTestHeader . Builder clearValue ()
Header value.
optional string value = 111972721;
public UrlMapTestHeader . Builder clone ()
Overrides
public UrlMapTestHeader getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
Header name.
optional string name = 3373707;
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Header name.
optional string name = 3373707;
Returns
Type
Description
ByteString
The bytes for name.
Header value.
optional string value = 111972721;
Returns
Type
Description
String
The value.
public ByteString getValueBytes ()
Header value.
optional string value = 111972721;
Returns
Type
Description
ByteString
The bytes for value.
Header name.
optional string name = 3373707;
Returns
Type
Description
boolean
Whether the name field is set.
public boolean hasValue ()
Header value.
optional string value = 111972721;
Returns
Type
Description
boolean
Whether the value field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UrlMapTestHeader . Builder mergeFrom ( UrlMapTestHeader other )
public UrlMapTestHeader . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public UrlMapTestHeader . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final UrlMapTestHeader . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UrlMapTestHeader . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UrlMapTestHeader . Builder setName ( String value )
Header name.
optional string name = 3373707;
Parameter
Name
Description
value
String
The name to set.
public UrlMapTestHeader . Builder setNameBytes ( ByteString value )
Header name.
optional string name = 3373707;
Parameter
Name
Description
value
ByteString
The bytes for name to set.
public UrlMapTestHeader . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final UrlMapTestHeader . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UrlMapTestHeader . Builder setValue ( String value )
Header value.
optional string value = 111972721;
Parameter
Name
Description
value
String
The value to set.
public UrlMapTestHeader . Builder setValueBytes ( ByteString value )
Header value.
optional string value = 111972721;
Parameter
Name
Description
value
ByteString
The bytes for value to set.
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]