Class TargetSslProxiesSetProxyHeaderRequest.Builder (1.93.0)

public static final class TargetSslProxiesSetProxyHeaderRequest.Builder extends GeneratedMessage.Builder<TargetSslProxiesSetProxyHeaderRequest.Builder> implements TargetSslProxiesSetProxyHeaderRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest

Static Methods

getDescriptor()

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

Methods

build()

public TargetSslProxiesSetProxyHeaderRequest build()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest

buildPartial()

public TargetSslProxiesSetProxyHeaderRequest buildPartial()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest

clear()

public TargetSslProxiesSetProxyHeaderRequest.Builder clear()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

clearProxyHeader()

public TargetSslProxiesSetProxyHeaderRequest.Builder clearProxyHeader()

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
TargetSslProxiesSetProxyHeaderRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public TargetSslProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetSslProxiesSetProxyHeaderRequest other)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(TargetSslProxiesSetProxyHeaderRequest other)
Parameter
Name Description
other TargetSslProxiesSetProxyHeaderRequest
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

setProxyHeader(String value)

public TargetSslProxiesSetProxyHeaderRequest.Builder setProxyHeader(String value)

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;

Parameter
Name Description
value String

The proxyHeader to set.

Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder

This builder for chaining.

setProxyHeaderBytes(ByteString value)

public TargetSslProxiesSetProxyHeaderRequest.Builder setProxyHeaderBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for proxyHeader to set.

Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder

This builder for chaining.