Package com.google.cloud.compute.v1
Class HttpHeaderAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
- com.google.cloud.compute.v1.HttpHeaderAction.Builder
-
- All Implemented Interfaces:
HttpHeaderActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HttpHeaderAction
public static final class HttpHeaderAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder> implements HttpHeaderActionOrBuilder
The request and response header transformations that take effect before the request is passed along to the selected backendService.
Protobuf typegoogle.cloud.compute.v1.HttpHeaderAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeaderAction.BuilderaddAllRequestHeadersToAdd(Iterable<? extends HttpHeaderOption> values)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddAllRequestHeadersToRemove(Iterable<String> values)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddAllResponseHeadersToAdd(Iterable<? extends HttpHeaderOption> values)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderaddAllResponseHeadersToRemove(Iterable<String> values)A list of header names for headers that need to be removed from the response before sending the response back to the client.HttpHeaderAction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HttpHeaderAction.BuilderaddRequestHeadersToAdd(int index, HttpHeaderOption value)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddRequestHeadersToAdd(HttpHeaderOption value)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddRequestHeadersToAdd(HttpHeaderOption.Builder builderForValue)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.BuilderaddRequestHeadersToAddBuilder()Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.BuilderaddRequestHeadersToAddBuilder(int index)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddRequestHeadersToRemove(String value)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderAction.BuilderaddResponseHeadersToAdd(int index, HttpHeaderOption value)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderaddResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderaddResponseHeadersToAdd(HttpHeaderOption value)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderaddResponseHeadersToAdd(HttpHeaderOption.Builder builderForValue)Headers to add the response before sending the response back to the client.HttpHeaderOption.BuilderaddResponseHeadersToAddBuilder()Headers to add the response before sending the response back to the client.HttpHeaderOption.BuilderaddResponseHeadersToAddBuilder(int index)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderaddResponseHeadersToRemove(String value)A list of header names for headers that need to be removed from the response before sending the response back to the client.HttpHeaderAction.BuilderaddResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)A list of header names for headers that need to be removed from the response before sending the response back to the client.HttpHeaderActionbuild()HttpHeaderActionbuildPartial()HttpHeaderAction.Builderclear()HttpHeaderAction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HttpHeaderAction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HttpHeaderAction.BuilderclearRequestHeadersToAdd()Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderclearRequestHeadersToRemove()A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderAction.BuilderclearResponseHeadersToAdd()Headers to add the response before sending the response back to the client.HttpHeaderAction.BuilderclearResponseHeadersToRemove()A list of header names for headers that need to be removed from the response before sending the response back to the client.HttpHeaderAction.Builderclone()HttpHeaderActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HttpHeaderOptiongetRequestHeadersToAdd(int index)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.BuildergetRequestHeadersToAddBuilder(int index)Headers to add to a matching request before forwarding the request to the backendService.List<HttpHeaderOption.Builder>getRequestHeadersToAddBuilderList()Headers to add to a matching request before forwarding the request to the backendService.intgetRequestHeadersToAddCount()Headers to add to a matching request before forwarding the request to the backendService.List<HttpHeaderOption>getRequestHeadersToAddList()Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOptionOrBuildergetRequestHeadersToAddOrBuilder(int index)Headers to add to a matching request before forwarding the request to the backendService.List<? extends HttpHeaderOptionOrBuilder>getRequestHeadersToAddOrBuilderList()Headers to add to a matching request before forwarding the request to the backendService.StringgetRequestHeadersToRemove(int index)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(int index)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.intgetRequestHeadersToRemoveCount()A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.com.google.protobuf.ProtocolStringListgetRequestHeadersToRemoveList()A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderOptiongetResponseHeadersToAdd(int index)Headers to add the response before sending the response back to the client.HttpHeaderOption.BuildergetResponseHeadersToAddBuilder(int index)Headers to add the response before sending the response back to the client.List<HttpHeaderOption.Builder>getResponseHeadersToAddBuilderList()Headers to add the response before sending the response back to the client.intgetResponseHeadersToAddCount()Headers to add the response before sending the response back to the client.List<HttpHeaderOption>getResponseHeadersToAddList()Headers to add the response before sending the response back to the client.HttpHeaderOptionOrBuildergetResponseHeadersToAddOrBuilder(int index)Headers to add the response before sending the response back to the client.List<? extends HttpHeaderOptionOrBuilder>getResponseHeadersToAddOrBuilderList()Headers to add the response before sending the response back to the client.StringgetResponseHeadersToRemove(int index)A list of header names for headers that need to be removed from the response before sending the response back to the client.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index)A list of header names for headers that need to be removed from the response before sending the response back to the client.intgetResponseHeadersToRemoveCount()A list of header names for headers that need to be removed from the response before sending the response back to the client.com.google.protobuf.ProtocolStringListgetResponseHeadersToRemoveList()A list of header names for headers that need to be removed from the response before sending the response back to the client.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HttpHeaderAction.BuildermergeFrom(HttpHeaderAction other)HttpHeaderAction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HttpHeaderAction.BuildermergeFrom(com.google.protobuf.Message other)HttpHeaderAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HttpHeaderAction.BuilderremoveRequestHeadersToAdd(int index)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuilderremoveResponseHeadersToAdd(int index)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HttpHeaderAction.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HttpHeaderAction.BuildersetRequestHeadersToAdd(int index, HttpHeaderOption value)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuildersetRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.BuildersetRequestHeadersToRemove(int index, String value)A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderAction.BuildersetResponseHeadersToAdd(int index, HttpHeaderOption value)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuildersetResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)Headers to add the response before sending the response back to the client.HttpHeaderAction.BuildersetResponseHeadersToRemove(int index, String value)A list of header names for headers that need to be removed from the response before sending the response back to the client.HttpHeaderAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clear
public HttpHeaderAction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
getDefaultInstanceForType
public HttpHeaderAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpHeaderAction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpHeaderAction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HttpHeaderAction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
setField
public HttpHeaderAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clearField
public HttpHeaderAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clearOneof
public HttpHeaderAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
setRepeatedField
public HttpHeaderAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
addRepeatedField
public HttpHeaderAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
mergeFrom
public HttpHeaderAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpHeaderAction.Builder>
-
mergeFrom
public HttpHeaderAction.Builder mergeFrom(HttpHeaderAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
mergeFrom
public HttpHeaderAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpHeaderAction.Builder>- Throws:
IOException
-
getRequestHeadersToAddList
public List<HttpHeaderOption> getRequestHeadersToAddList()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;- Specified by:
getRequestHeadersToAddListin interfaceHttpHeaderActionOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;- Specified by:
getRequestHeadersToAddCountin interfaceHttpHeaderActionOrBuilder
-
getRequestHeadersToAdd
public HttpHeaderOption getRequestHeadersToAdd(int index)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;- Specified by:
getRequestHeadersToAddin interfaceHttpHeaderActionOrBuilder
-
setRequestHeadersToAdd
public HttpHeaderAction.Builder setRequestHeadersToAdd(int index, HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
setRequestHeadersToAdd
public HttpHeaderAction.Builder setRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addRequestHeadersToAdd
public HttpHeaderAction.Builder addRequestHeadersToAdd(HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addRequestHeadersToAdd
public HttpHeaderAction.Builder addRequestHeadersToAdd(int index, HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addRequestHeadersToAdd
public HttpHeaderAction.Builder addRequestHeadersToAdd(HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addRequestHeadersToAdd
public HttpHeaderAction.Builder addRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addAllRequestHeadersToAdd
public HttpHeaderAction.Builder addAllRequestHeadersToAdd(Iterable<? extends HttpHeaderOption> values)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
clearRequestHeadersToAdd
public HttpHeaderAction.Builder clearRequestHeadersToAdd()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
removeRequestHeadersToAdd
public HttpHeaderAction.Builder removeRequestHeadersToAdd(int index)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
getRequestHeadersToAddBuilder
public HttpHeaderOption.Builder getRequestHeadersToAddBuilder(int index)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
getRequestHeadersToAddOrBuilder
public HttpHeaderOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;- Specified by:
getRequestHeadersToAddOrBuilderin interfaceHttpHeaderActionOrBuilder
-
getRequestHeadersToAddOrBuilderList
public List<? extends HttpHeaderOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceHttpHeaderActionOrBuilder
-
addRequestHeadersToAddBuilder
public HttpHeaderOption.Builder addRequestHeadersToAddBuilder()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
addRequestHeadersToAddBuilder
public HttpHeaderOption.Builder addRequestHeadersToAddBuilder(int index)
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
getRequestHeadersToAddBuilderList
public List<HttpHeaderOption.Builder> getRequestHeadersToAddBuilderList()
Headers to add to a matching request before forwarding the request to the backendService.
repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
-
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Specified by:
getRequestHeadersToRemoveListin interfaceHttpHeaderActionOrBuilder- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Specified by:
getRequestHeadersToRemoveCountin interfaceHttpHeaderActionOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public String getRequestHeadersToRemove(int index)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Specified by:
getRequestHeadersToRemovein interfaceHttpHeaderActionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Specified by:
getRequestHeadersToRemoveBytesin interfaceHttpHeaderActionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
public HttpHeaderAction.Builder setRequestHeadersToRemove(int index, String value)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Parameters:
index- The index to set the value at.value- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public HttpHeaderAction.Builder addRequestHeadersToRemove(String value)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Parameters:
value- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public HttpHeaderAction.Builder addAllRequestHeadersToRemove(Iterable<String> values)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Parameters:
values- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public HttpHeaderAction.Builder clearRequestHeadersToRemove()
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public HttpHeaderAction.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
repeated string request_headers_to_remove = 218425247;- Parameters:
value- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
getResponseHeadersToAddList
public List<HttpHeaderOption> getResponseHeadersToAddList()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;- Specified by:
getResponseHeadersToAddListin interfaceHttpHeaderActionOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;- Specified by:
getResponseHeadersToAddCountin interfaceHttpHeaderActionOrBuilder
-
getResponseHeadersToAdd
public HttpHeaderOption getResponseHeadersToAdd(int index)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;- Specified by:
getResponseHeadersToAddin interfaceHttpHeaderActionOrBuilder
-
setResponseHeadersToAdd
public HttpHeaderAction.Builder setResponseHeadersToAdd(int index, HttpHeaderOption value)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
setResponseHeadersToAdd
public HttpHeaderAction.Builder setResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addResponseHeadersToAdd
public HttpHeaderAction.Builder addResponseHeadersToAdd(HttpHeaderOption value)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addResponseHeadersToAdd
public HttpHeaderAction.Builder addResponseHeadersToAdd(int index, HttpHeaderOption value)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addResponseHeadersToAdd
public HttpHeaderAction.Builder addResponseHeadersToAdd(HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addResponseHeadersToAdd
public HttpHeaderAction.Builder addResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addAllResponseHeadersToAdd
public HttpHeaderAction.Builder addAllResponseHeadersToAdd(Iterable<? extends HttpHeaderOption> values)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
clearResponseHeadersToAdd
public HttpHeaderAction.Builder clearResponseHeadersToAdd()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
removeResponseHeadersToAdd
public HttpHeaderAction.Builder removeResponseHeadersToAdd(int index)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
getResponseHeadersToAddBuilder
public HttpHeaderOption.Builder getResponseHeadersToAddBuilder(int index)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
getResponseHeadersToAddOrBuilder
public HttpHeaderOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;- Specified by:
getResponseHeadersToAddOrBuilderin interfaceHttpHeaderActionOrBuilder
-
getResponseHeadersToAddOrBuilderList
public List<? extends HttpHeaderOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceHttpHeaderActionOrBuilder
-
addResponseHeadersToAddBuilder
public HttpHeaderOption.Builder addResponseHeadersToAddBuilder()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
addResponseHeadersToAddBuilder
public HttpHeaderOption.Builder addResponseHeadersToAddBuilder(int index)
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
getResponseHeadersToAddBuilderList
public List<HttpHeaderOption.Builder> getResponseHeadersToAddBuilderList()
Headers to add the response before sending the response back to the client.
repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
-
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Specified by:
getResponseHeadersToRemoveListin interfaceHttpHeaderActionOrBuilder- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Specified by:
getResponseHeadersToRemoveCountin interfaceHttpHeaderActionOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public String getResponseHeadersToRemove(int index)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Specified by:
getResponseHeadersToRemovein interfaceHttpHeaderActionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Specified by:
getResponseHeadersToRemoveBytesin interfaceHttpHeaderActionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
public HttpHeaderAction.Builder setResponseHeadersToRemove(int index, String value)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Parameters:
index- The index to set the value at.value- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public HttpHeaderAction.Builder addResponseHeadersToRemove(String value)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Parameters:
value- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public HttpHeaderAction.Builder addAllResponseHeadersToRemove(Iterable<String> values)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Parameters:
values- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public HttpHeaderAction.Builder clearResponseHeadersToRemove()
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public HttpHeaderAction.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
A list of header names for headers that need to be removed from the response before sending the response back to the client.
repeated string response_headers_to_remove = 75415761;- Parameters:
value- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HttpHeaderAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
mergeUnknownFields
public final HttpHeaderAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
-