Interface HTTPGetActionOrBuilder (0.46.0)

publicinterface HTTPGetActionOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getHttpHeaders(int index)

publicabstractHTTPHeadergetHttpHeaders(intindex)

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()

publicabstractintgetHttpHeadersCount()

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()

publicabstractList<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)

publicabstractHTTPHeaderOrBuildergetHttpHeadersOrBuilder(intindex)

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()

publicabstractList<?extendsHTTPHeaderOrBuilder>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()

publicabstractStringgetPath()

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

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

publicabstractByteStringgetPathBytes()

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

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getPort()

publicabstractintgetPort()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.