public static final class TargetSslProxiesSetProxyHeaderRequest.Builder extends GeneratedMessageV3.Builder<TargetSslProxiesSetProxyHeaderRequest.Builder> implements TargetSslProxiesSetProxyHeaderRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TargetSslProxiesSetProxyHeaderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TargetSslProxiesSetProxyHeaderRequest build()
Returns
public TargetSslProxiesSetProxyHeaderRequest buildPartial()
Returns
public TargetSslProxiesSetProxyHeaderRequest.Builder clear()
Returns
Overrides
public TargetSslProxiesSetProxyHeaderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TargetSslProxiesSetProxyHeaderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public TargetSslProxiesSetProxyHeaderRequest.Builder clone()
Returns
Overrides
public TargetSslProxiesSetProxyHeaderRequest 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 TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(TargetSslProxiesSetProxyHeaderRequest other)
Parameter
Returns
public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TargetSslProxiesSetProxyHeaderRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TargetSslProxiesSetProxyHeaderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TargetSslProxiesSetProxyHeaderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public TargetSslProxiesSetProxyHeaderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TargetSslProxiesSetProxyHeaderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides