Class TargetSslProxiesSetProxyHeaderRequest.Builder (1.55.0)

public static final class TargetSslProxiesSetProxyHeaderRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetProxyHeaderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public TargetSslProxiesSetProxyHeaderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetSslProxiesSetProxyHeaderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetProxyHeaderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetProxyHeaderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TargetSslProxiesSetProxyHeaderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetProxyHeaderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides