public final class HTTPGetAction extends GeneratedMessageV3 implements HTTPGetActionOrBuilder
HTTPGetAction describes an action based on HTTP Get requests.
Protobuf type google.cloud.run.v2.HTTPGetAction
Static Fields
public static final int HTTP_HEADERS_FIELD_NUMBER
Field Value
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HTTPGetAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HTTPGetAction.Builder newBuilder()
Returns
newBuilder(HTTPGetAction prototype)
public static HTTPGetAction.Builder newBuilder(HTTPGetAction prototype)
Parameter
Returns
public static HTTPGetAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HTTPGetAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HTTPGetAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HTTPGetAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HTTPGetAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HTTPGetAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HTTPGetAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HTTPGetAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HTTPGetAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HTTPGetAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HTTPGetAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HTTPGetAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HTTPGetAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HTTPGetAction getDefaultInstanceForType()
Returns
public HTTPHeader getHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public List<HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
public HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Parameter
Returns
public List<? extends HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
Returns
Type | Description |
List<? extends com.google.cloud.run.v2.HTTPHeaderOrBuilder> | |
getParserForType()
public Parser<HTTPGetAction> getParserForType()
Returns
Overrides
getPath()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Returns
Type | Description |
String | The path.
|
getPathBytes()
public ByteString getPathBytes()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HTTPGetAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HTTPGetAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HTTPGetAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions