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.Builder
addAllRequestHeadersToAdd(Iterable<? extends HttpHeaderOption> values)
Headers to add to a matching request before forwarding the request to the backendService.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.HttpHeaderAction.Builder
addAllResponseHeadersToAdd(Iterable<? extends HttpHeaderOption> values)
Headers to add the response before sending the response back to the client.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.HttpHeaderAction.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HttpHeaderAction.Builder
addRequestHeadersToAdd(int index, HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.Builder
addRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.Builder
addRequestHeadersToAdd(HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.Builder
addRequestHeadersToAdd(HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.Builder
addRequestHeadersToAddBuilder()
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.Builder
addRequestHeadersToAddBuilder(int index)
Headers to add to a matching request before forwarding the request to the backendService.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.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.HttpHeaderAction.Builder
addResponseHeadersToAdd(int index, HttpHeaderOption value)
Headers to add the response before sending the response back to the client.HttpHeaderAction.Builder
addResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.HttpHeaderAction.Builder
addResponseHeadersToAdd(HttpHeaderOption value)
Headers to add the response before sending the response back to the client.HttpHeaderAction.Builder
addResponseHeadersToAdd(HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.HttpHeaderOption.Builder
addResponseHeadersToAddBuilder()
Headers to add the response before sending the response back to the client.HttpHeaderOption.Builder
addResponseHeadersToAddBuilder(int index)
Headers to add the response before sending the response back to the client.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.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.HttpHeaderAction
build()
HttpHeaderAction
buildPartial()
HttpHeaderAction.Builder
clear()
HttpHeaderAction.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HttpHeaderAction.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HttpHeaderAction.Builder
clearRequestHeadersToAdd()
Headers to add to a matching request before forwarding the request to the backendService.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.HttpHeaderAction.Builder
clearResponseHeadersToAdd()
Headers to add the response before sending the response back to the client.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.HttpHeaderAction.Builder
clone()
HttpHeaderAction
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HttpHeaderOption
getRequestHeadersToAdd(int index)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderOption.Builder
getRequestHeadersToAddBuilder(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.int
getRequestHeadersToAddCount()
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.HttpHeaderOptionOrBuilder
getRequestHeadersToAddOrBuilder(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.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.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.int
getRequestHeadersToRemoveCount()
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.ProtocolStringList
getRequestHeadersToRemoveList()
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.HttpHeaderOption
getResponseHeadersToAdd(int index)
Headers to add the response before sending the response back to the client.HttpHeaderOption.Builder
getResponseHeadersToAddBuilder(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.int
getResponseHeadersToAddCount()
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.HttpHeaderOptionOrBuilder
getResponseHeadersToAddOrBuilder(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.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.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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
HttpHeaderAction.Builder
mergeFrom(HttpHeaderAction other)
HttpHeaderAction.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HttpHeaderAction.Builder
mergeFrom(com.google.protobuf.Message other)
HttpHeaderAction.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HttpHeaderAction.Builder
removeRequestHeadersToAdd(int index)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.Builder
removeResponseHeadersToAdd(int index)
Headers to add the response before sending the response back to the client.HttpHeaderAction.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HttpHeaderAction.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HttpHeaderAction.Builder
setRequestHeadersToAdd(int index, HttpHeaderOption value)
Headers to add to a matching request before forwarding the request to the backendService.HttpHeaderAction.Builder
setRequestHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add to a matching request before forwarding the request to the backendService.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.HttpHeaderAction.Builder
setResponseHeadersToAdd(int index, HttpHeaderOption value)
Headers to add the response before sending the response back to the client.HttpHeaderAction.Builder
setResponseHeadersToAdd(int index, HttpHeaderOption.Builder builderForValue)
Headers to add the response before sending the response back to the client.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.HttpHeaderAction.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clear
public HttpHeaderAction.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
getDefaultInstanceForType
public HttpHeaderAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpHeaderAction build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpHeaderAction buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HttpHeaderAction.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
setField
public HttpHeaderAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clearField
public HttpHeaderAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
clearOneof
public HttpHeaderAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
setRepeatedField
public HttpHeaderAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
addRepeatedField
public HttpHeaderAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
mergeFrom
public HttpHeaderAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpHeaderAction.Builder>
-
mergeFrom
public HttpHeaderAction.Builder mergeFrom(HttpHeaderAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getRequestHeadersToAddList
in 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:
getRequestHeadersToAddCount
in 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:
getRequestHeadersToAdd
in 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:
getRequestHeadersToAddOrBuilder
in 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:
getRequestHeadersToAddOrBuilderList
in 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:
getRequestHeadersToRemoveList
in 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:
getRequestHeadersToRemoveCount
in 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:
getRequestHeadersToRemove
in 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:
getRequestHeadersToRemoveBytes
in 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:
getResponseHeadersToAddList
in 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:
getResponseHeadersToAddCount
in 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:
getResponseHeadersToAdd
in 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:
getResponseHeadersToAddOrBuilder
in 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:
getResponseHeadersToAddOrBuilderList
in 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:
getResponseHeadersToRemoveList
in 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:
getResponseHeadersToRemoveCount
in 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:
getResponseHeadersToRemove
in 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:
getResponseHeadersToRemoveBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
mergeUnknownFields
public final HttpHeaderAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpHeaderAction.Builder>
-
-