Class TargetSslProxiesSetProxyHeaderRequest (1.32.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetSslProxiesSetProxyHeaderRequest getDefaultInstance()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest

getDescriptor()

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

newBuilder()

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

newBuilder(TargetSslProxiesSetProxyHeaderRequest prototype)

public static TargetSslProxiesSetProxyHeaderRequest.Builder newBuilder(TargetSslProxiesSetProxyHeaderRequest prototype)
Parameter
NameDescription
prototypeTargetSslProxiesSetProxyHeaderRequest
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetSslProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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