Class TargetSslProxiesSetProxyHeaderRequest (1.54.0)

public final class TargetSslProxiesSetProxyHeaderRequest extends GeneratedMessageV3 implements TargetSslProxiesSetProxyHeaderRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest

Inheritance

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

Static Fields

PROXY_HEADER_FIELD_NUMBER

public static final int PROXY_HEADER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TargetSslProxiesSetProxyHeaderRequest getDefaultInstance()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest

getDescriptor()

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

newBuilder()

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

newBuilder(TargetSslProxiesSetProxyHeaderRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetSslProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest

getParserForType()

public Parser<TargetSslProxiesSetProxyHeaderRequest> getParserForType()
Returns
Type Description
Parser<TargetSslProxiesSetProxyHeaderRequest>
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 TargetSslProxiesSetProxyHeaderRequest.Builder newBuilderForType()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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