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