public static final class TargetTcpProxiesSetProxyHeaderRequest.Builder extends GeneratedMessageV3.Builder<TargetTcpProxiesSetProxyHeaderRequest.Builder> implements TargetTcpProxiesSetProxyHeaderRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TargetTcpProxiesSetProxyHeaderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest build()
Returns
public TargetTcpProxiesSetProxyHeaderRequest buildPartial()
Returns
public TargetTcpProxiesSetProxyHeaderRequest.Builder clear()
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.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
public TargetTcpProxiesSetProxyHeaderRequest.Builder clone()
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.Builder mergeFrom(TargetTcpProxiesSetProxyHeaderRequest other)
Parameter
Returns
public TargetTcpProxiesSetProxyHeaderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TargetTcpProxiesSetProxyHeaderRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TargetTcpProxiesSetProxyHeaderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TargetTcpProxiesSetProxyHeaderRequest.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
public TargetTcpProxiesSetProxyHeaderRequest.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
public TargetTcpProxiesSetProxyHeaderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TargetTcpProxiesSetProxyHeaderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides