public final class TargetTcpProxiesSetProxyHeaderRequest extends GeneratedMessageV3 implements TargetTcpProxiesSetProxyHeaderRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest
Fields
public static final int PROXY_HEADER_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static TargetTcpProxiesSetProxyHeaderRequest getDefaultInstance()
Returns
public TargetTcpProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<TargetTcpProxiesSetProxyHeaderRequest> getParserForType()
Returns
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilder()
Returns
public static TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilder(TargetTcpProxiesSetProxyHeaderRequest prototype)
Parameter
Returns
public TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilderForType()
Returns
protected TargetTcpProxiesSetProxyHeaderRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TargetTcpProxiesSetProxyHeaderRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TargetTcpProxiesSetProxyHeaderRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TargetTcpProxiesSetProxyHeaderRequest> parser()
Returns
public TargetTcpProxiesSetProxyHeaderRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions