Interface HTTPGetActionOrBuilder (0.23.0)

public interface HTTPGetActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHttpHeaders(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
HTTPHeader

getHttpHeadersCount()

public abstract int getHttpHeadersCount()

Custom headers to set in the request. HTTP allows repeated headers.

repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;

Returns
TypeDescription
int

getHttpHeadersList()

public abstract List<HTTPHeader> getHttpHeadersList()

Custom headers to set in the request. HTTP allows repeated headers.

repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;

Returns
TypeDescription
List<HTTPHeader>

getHttpHeadersOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
HTTPHeaderOrBuilder

getHttpHeadersOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.run.v2.HTTPHeaderOrBuilder>

getPath()

public abstract String getPath()

Path to access on the HTTP server. Defaults to '/'.

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Path to access on the HTTP server. Defaults to '/'.

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

getPort()

public abstract 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
TypeDescription
int

The port.