Class HttpHeaderAction

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.HttpHeaderAction
All Implemented Interfaces:
HttpHeaderActionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class HttpHeaderAction extends com.google.protobuf.GeneratedMessage implements HttpHeaderActionOrBuilder
 The request and response header transformations that take effect before
 the request is passed along to the selected backendService.
 
Protobuf type google.cloud.compute.v1.HttpHeaderAction
See Also:
  • Field Details

    • REQUEST_HEADERS_TO_ADD_FIELD_NUMBER

      public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
      See Also:
    • REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER

      public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
      See Also:
    • RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER

      public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
      See Also:
    • RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER

      public static final int RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRequestHeadersToAddList

      public List<HttpHeaderOption> getRequestHeadersToAddList()
       Headers to add to a matching request before forwarding the request to thebackendService.
       
      repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
      Specified by:
      getRequestHeadersToAddList in interface HttpHeaderActionOrBuilder
    • getRequestHeadersToAddOrBuilderList

      public List<? extends HttpHeaderOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
       Headers to add to a matching request before forwarding the request to thebackendService.
       
      repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
      Specified by:
      getRequestHeadersToAddOrBuilderList in interface HttpHeaderActionOrBuilder
    • getRequestHeadersToAddCount

      public int getRequestHeadersToAddCount()
       Headers to add to a matching request before forwarding the request to thebackendService.
       
      repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
      Specified by:
      getRequestHeadersToAddCount in interface HttpHeaderActionOrBuilder
    • getRequestHeadersToAdd

      public HttpHeaderOption getRequestHeadersToAdd(int index)
       Headers to add to a matching request before forwarding the request to thebackendService.
       
      repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
      Specified by:
      getRequestHeadersToAdd in interface HttpHeaderActionOrBuilder
    • getRequestHeadersToAddOrBuilder

      public HttpHeaderOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
       Headers to add to a matching request before forwarding the request to thebackendService.
       
      repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
      Specified by:
      getRequestHeadersToAddOrBuilder in interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requestHeadersToRemove at the given index.
    • 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 interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
    • 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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      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 interface HttpHeaderActionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the responseHeadersToRemove at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static HttpHeaderAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpHeaderAction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpHeaderAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpHeaderAction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpHeaderAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpHeaderAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpHeaderAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public HttpHeaderAction.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HttpHeaderAction.Builder newBuilder()
    • newBuilder

      public static HttpHeaderAction.Builder newBuilder(HttpHeaderAction prototype)
    • toBuilder

      public HttpHeaderAction.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HttpHeaderAction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HttpHeaderAction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HttpHeaderAction> parser()
    • getParserForType

      public com.google.protobuf.Parser<HttpHeaderAction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HttpHeaderAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder