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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetProxyHeaderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

build()

public TargetSslProxiesSetProxyHeaderRequest build()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest

buildPartial()

public TargetSslProxiesSetProxyHeaderRequest buildPartial()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest

clear()

public TargetSslProxiesSetProxyHeaderRequest.Builder clear()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetSslProxiesSetProxyHeaderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetSslProxiesSetProxyHeaderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder

This builder for chaining.

clone()

public TargetSslProxiesSetProxyHeaderRequest.Builder clone()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

getDefaultInstanceForType()

public TargetSslProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetSslProxiesSetProxyHeaderRequest other)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(TargetSslProxiesSetProxyHeaderRequest other)
Parameter
NameDescription
otherTargetSslProxiesSetProxyHeaderRequest
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetProxyHeaderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetProxyHeaderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The proxyHeader to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for proxyHeader to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetProxyHeaderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSslProxiesSetProxyHeaderRequest.Builder
Overrides