Class TargetTcpProxiesSetProxyHeaderRequest (1.53.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
Type Description
int

Static Methods

getDefaultInstance()

public static TargetTcpProxiesSetProxyHeaderRequest getDefaultInstance()
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilder()
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest.Builder

newBuilder(TargetTcpProxiesSetProxyHeaderRequest prototype)

public static TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilder(TargetTcpProxiesSetProxyHeaderRequest prototype)
Parameter
Name Description
prototype TargetTcpProxiesSetProxyHeaderRequest
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest.Builder

parseDelimitedFrom(InputStream input)

public static TargetTcpProxiesSetProxyHeaderRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TargetTcpProxiesSetProxyHeaderRequest> parser()
Returns
Type Description
Parser<TargetTcpProxiesSetProxyHeaderRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TargetTcpProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest

getParserForType()

public Parser<TargetTcpProxiesSetProxyHeaderRequest> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for proxyHeader.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

Whether the proxyHeader field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilderForType()
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TargetTcpProxiesSetProxyHeaderRequest.Builder toBuilder()
Returns
Type Description
TargetTcpProxiesSetProxyHeaderRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException