Class TargetTcpProxiesSetProxyHeaderRequest (1.31.0)

public final class TargetTcpProxiesSetProxyHeaderRequest extends GeneratedMessageV3 implements TargetTcpProxiesSetProxyHeaderRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TargetTcpProxiesSetProxyHeaderRequest

Static Fields

PROXY_HEADER_FIELD_NUMBER

public static final int PROXY_HEADER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetTcpProxiesSetProxyHeaderRequest getDefaultInstance()
Returns
TypeDescription
TargetTcpProxiesSetProxyHeaderRequest

getDescriptor()

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

newBuilder()

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

newBuilder(TargetTcpProxiesSetProxyHeaderRequest prototype)

public static TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilder(TargetTcpProxiesSetProxyHeaderRequest prototype)
Parameter
NameDescription
prototypeTargetTcpProxiesSetProxyHeaderRequest
Returns
TypeDescription
TargetTcpProxiesSetProxyHeaderRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetTcpProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetTcpProxiesSetProxyHeaderRequest

getParserForType()

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

getProxyHeader()

public String getProxyHeader()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
String

The proxyHeader.

getProxyHeaderBytes()

public ByteString getProxyHeaderBytes()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
ByteString

The bytes for proxyHeader.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProxyHeader()

public boolean hasProxyHeader()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
boolean

Whether the proxyHeader 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 TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilderForType()
Returns
TypeDescription
TargetTcpProxiesSetProxyHeaderRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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