Interface HTTPGetActionOrBuilder (0.43.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

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

string path = 1;

Returns
Type Description
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
Type Description
int

The port.