public static final class HttpRoute.URLRewrite extends GeneratedMessageV3 implements HttpRoute.URLRewriteOrBuilder
The specification for modifying the URL of the request, prior to forwarding
the request to the destination.
Protobuf type google.events.cloud.networkservices.v1.HttpRoute.URLRewrite
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
HOST_REWRITE_FIELD_NUMBER
public static final int HOST_REWRITE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATH_PREFIX_REWRITE_FIELD_NUMBER
public static final int PATH_PREFIX_REWRITE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HttpRoute.URLRewrite getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HttpRoute.URLRewrite.Builder newBuilder()
newBuilder(HttpRoute.URLRewrite prototype)
public static HttpRoute.URLRewrite.Builder newBuilder(HttpRoute.URLRewrite prototype)
public static HttpRoute.URLRewrite parseDelimitedFrom(InputStream input)
public static HttpRoute.URLRewrite parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HttpRoute.URLRewrite parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HttpRoute.URLRewrite parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HttpRoute.URLRewrite parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HttpRoute.URLRewrite parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HttpRoute.URLRewrite parseFrom(CodedInputStream input)
public static HttpRoute.URLRewrite parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HttpRoute.URLRewrite parseFrom(InputStream input)
public static HttpRoute.URLRewrite parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HttpRoute.URLRewrite parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HttpRoute.URLRewrite parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HttpRoute.URLRewrite> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public HttpRoute.URLRewrite getDefaultInstanceForType()
getHostRewrite()
public String getHostRewrite()
Prior to forwarding the request to the selected destination, the requests
host header is replaced by this value.
string host_rewrite = 2;
Returns |
Type |
Description |
String |
The hostRewrite.
|
getHostRewriteBytes()
public ByteString getHostRewriteBytes()
Prior to forwarding the request to the selected destination, the requests
host header is replaced by this value.
string host_rewrite = 2;
Returns |
Type |
Description |
ByteString |
The bytes for hostRewrite.
|
getParserForType()
public Parser<HttpRoute.URLRewrite> getParserForType()
Overrides
getPathPrefixRewrite()
public String getPathPrefixRewrite()
Prior to forwarding the request to the selected destination, the matching
portion of the requests path is replaced by this value.
string path_prefix_rewrite = 1;
Returns |
Type |
Description |
String |
The pathPrefixRewrite.
|
getPathPrefixRewriteBytes()
public ByteString getPathPrefixRewriteBytes()
Prior to forwarding the request to the selected destination, the matching
portion of the requests path is replaced by this value.
string path_prefix_rewrite = 1;
Returns |
Type |
Description |
ByteString |
The bytes for pathPrefixRewrite.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HttpRoute.URLRewrite.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HttpRoute.URLRewrite.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HttpRoute.URLRewrite.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides