public interface HTTPGetActionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getHttpHeaders(int index)
public abstract HTTPHeader getHttpHeaders(int index)
Optional. Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
HTTPHeader |
getHttpHeadersCount()
public abstract int getHttpHeadersCount()
Optional. Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getHttpHeadersList()
public abstract List<HTTPHeader> getHttpHeadersList()
Optional. Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<HTTPHeader> |
getHttpHeadersOrBuilder(int index)
public abstract HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Optional. Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
HTTPHeaderOrBuilder |
getHttpHeadersOrBuilderList()
public abstract List<? extends HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Optional. Custom headers to set in the request. HTTP allows repeated headers.
repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.run.v2.HTTPHeaderOrBuilder> |
getPath()
public abstract String getPath()
Optional. Path to access on the HTTP server. Defaults to '/'.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The path. |
getPathBytes()
public abstract ByteString getPathBytes()
Optional. Path to access on the HTTP server. Defaults to '/'.
string path = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for path. |
getPort()
public abstract int getPort()
Optional. Port number to access on the container. Must be in the range 1 to
- If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The port. |