Package k8s.io.api.core.v1
Interface Generated.HTTPGetActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.HTTPGetAction,Generated.HTTPGetAction.Builder
- Enclosing class:
- Generated
public static interface Generated.HTTPGetActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Host name to connect to, defaults to the pod IP.com.google.protobuf.ByteStringgetHostBytes()Host name to connect to, defaults to the pod IP.Generated.HTTPHeadergetHttpHeaders(int index)Custom headers to set in the request.intgetHttpHeadersCount()Custom headers to set in the request.List<Generated.HTTPHeader>getHttpHeadersList()Custom headers to set in the request.Generated.HTTPHeaderOrBuildergetHttpHeadersOrBuilder(int index)Custom headers to set in the request.List<? extends Generated.HTTPHeaderOrBuilder>getHttpHeadersOrBuilderList()Custom headers to set in the request.StringgetPath()Path to access on the HTTP server.com.google.protobuf.ByteStringgetPathBytes()Path to access on the HTTP server.Generated.IntOrStringgetPort()Name or number of the port to access on the container.Generated.IntOrStringOrBuildergetPortOrBuilder()Name or number of the port to access on the container.StringgetScheme()Scheme to use for connecting to the host.com.google.protobuf.ByteStringgetSchemeBytes()Scheme to use for connecting to the host.booleanhasHost()Host name to connect to, defaults to the pod IP.booleanhasPath()Path to access on the HTTP server.booleanhasPort()Name or number of the port to access on the container.booleanhasScheme()Scheme to use for connecting to the host.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPath
boolean hasPath()
Path to access on the HTTP server. +optional
optional string path = 1;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
Path to access on the HTTP server. +optional
optional string path = 1;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Path to access on the HTTP server. +optional
optional string path = 1;- Returns:
- The bytes for path.
-
hasPort
boolean hasPort()
Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;- Returns:
- Whether the port field is set.
-
getPort
Generated.IntOrString getPort()
Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;- Returns:
- The port.
-
getPortOrBuilder
Generated.IntOrStringOrBuilder getPortOrBuilder()
Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
-
hasHost
boolean hasHost()
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;- Returns:
- Whether the host field is set.
-
getHost
String getHost()
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;- Returns:
- The bytes for host.
-
hasScheme
boolean hasScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Returns:
- Whether the scheme field is set.
-
getScheme
String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Returns:
- The scheme.
-
getSchemeBytes
com.google.protobuf.ByteString getSchemeBytes()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Returns:
- The bytes for scheme.
-
getHttpHeadersList
List<Generated.HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers. +optional +listType=atomic
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeaders
Generated.HTTPHeader getHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional +listType=atomic
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersCount
int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers. +optional +listType=atomic
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersOrBuilderList
List<? extends Generated.HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Custom headers to set in the request. HTTP allows repeated headers. +optional +listType=atomic
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersOrBuilder
Generated.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional +listType=atomic
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
-