Package com.google.cloud.run.v2
Interface HTTPGetActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HTTPGetAction
,HTTPGetAction.Builder
public interface HTTPGetActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HTTPHeader
getHttpHeaders(int index)
Custom headers to set in the request.int
getHttpHeadersCount()
Custom headers to set in the request.List<HTTPHeader>
getHttpHeadersList()
Custom headers to set in the request.HTTPHeaderOrBuilder
getHttpHeadersOrBuilder(int index)
Custom headers to set in the request.List<? extends HTTPHeaderOrBuilder>
getHttpHeadersOrBuilderList()
Custom headers to set in the request.String
getPath()
Path to access on the HTTP server.com.google.protobuf.ByteString
getPathBytes()
Path to access on the HTTP server.int
getPort()
Port number to access on the container.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPath
String getPath()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Path to access on the HTTP server. Defaults to '/'.
string path = 1;
- Returns:
- The bytes for path.
-
getHttpHeadersList
List<HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
-
getHttpHeaders
HTTPHeader getHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
-
getHttpHeadersCount
int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
-
getHttpHeadersOrBuilderList
List<? extends HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
-
getHttpHeadersOrBuilder
HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
-
getPort
int getPort()
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
int32 port = 5;
- Returns:
- The port.
-
-