Class UrlMapTestHeader (1.23.0)

public final class UrlMapTestHeader extends GeneratedMessageV3 implements UrlMapTestHeaderOrBuilder

HTTP headers used in UrlMapTests.

Protobuf type google.cloud.compute.v1.UrlMapTestHeader

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UrlMapTestHeader getDefaultInstance()
Returns
TypeDescription
UrlMapTestHeader

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UrlMapTestHeader.Builder newBuilder()
Returns
TypeDescription
UrlMapTestHeader.Builder

newBuilder(UrlMapTestHeader prototype)

public static UrlMapTestHeader.Builder newBuilder(UrlMapTestHeader prototype)
Parameter
NameDescription
prototypeUrlMapTestHeader
Returns
TypeDescription
UrlMapTestHeader.Builder

parseDelimitedFrom(InputStream input)

public static UrlMapTestHeader parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UrlMapTestHeader parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UrlMapTestHeader parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UrlMapTestHeader parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UrlMapTestHeader parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UrlMapTestHeader parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UrlMapTestHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapTestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UrlMapTestHeader> parser()
Returns
TypeDescription
Parser<UrlMapTestHeader>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UrlMapTestHeader getDefaultInstanceForType()
Returns
TypeDescription
UrlMapTestHeader

getName()

public String getName()

Header name.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Header name.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<UrlMapTestHeader> getParserForType()
Returns
TypeDescription
Parser<UrlMapTestHeader>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public String getValue()

Header value.

optional string value = 111972721;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

Header value.

optional string value = 111972721;

Returns
TypeDescription
ByteString

The bytes for value.

hasName()

public boolean hasName()

Header name.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasValue()

public boolean hasValue()

Header value.

optional string value = 111972721;

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UrlMapTestHeader.Builder newBuilderForType()
Returns
TypeDescription
UrlMapTestHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UrlMapTestHeader.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UrlMapTestHeader.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UrlMapTestHeader.Builder toBuilder()
Returns
TypeDescription
UrlMapTestHeader.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException