public static final class V1.HTTPGetAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder> implements V1.HTTPGetActionOrBuilder
HTTPGetAction describes an action based on HTTP Get requests.Protobuf type
k8s.io.api.core.v1.HTTPGetAction| Modifier and Type | Method and Description |
|---|---|
V1.HTTPGetAction.Builder |
addAllHttpHeaders(Iterable<? extends V1.HTTPHeader> values)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
addHttpHeaders(int index,
V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
addHttpHeaders(int index,
V1.HTTPHeader value)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
addHttpHeaders(V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
addHttpHeaders(V1.HTTPHeader value)
Custom headers to set in the request.
|
V1.HTTPHeader.Builder |
addHttpHeadersBuilder()
Custom headers to set in the request.
|
V1.HTTPHeader.Builder |
addHttpHeadersBuilder(int index)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.HTTPGetAction |
build() |
V1.HTTPGetAction |
buildPartial() |
V1.HTTPGetAction.Builder |
clear() |
V1.HTTPGetAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.HTTPGetAction.Builder |
clearHost()
Host name to connect to, defaults to the pod IP.
|
V1.HTTPGetAction.Builder |
clearHttpHeaders()
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.HTTPGetAction.Builder |
clearPath()
Path to access on the HTTP server.
|
V1.HTTPGetAction.Builder |
clearPort()
Name or number of the port to access on the container.
|
V1.HTTPGetAction.Builder |
clearScheme()
Scheme to use for connecting to the host.
|
V1.HTTPGetAction.Builder |
clone() |
V1.HTTPGetAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Host name to connect to, defaults to the pod IP.
|
com.google.protobuf.ByteString |
getHostBytes()
Host name to connect to, defaults to the pod IP.
|
V1.HTTPHeader |
getHttpHeaders(int index)
Custom headers to set in the request.
|
V1.HTTPHeader.Builder |
getHttpHeadersBuilder(int index)
Custom headers to set in the request.
|
List<V1.HTTPHeader.Builder> |
getHttpHeadersBuilderList()
Custom headers to set in the request.
|
int |
getHttpHeadersCount()
Custom headers to set in the request.
|
List<V1.HTTPHeader> |
getHttpHeadersList()
Custom headers to set in the request.
|
V1.HTTPHeaderOrBuilder |
getHttpHeadersOrBuilder(int index)
Custom headers to set in the request.
|
List<? extends V1.HTTPHeaderOrBuilder> |
getHttpHeadersOrBuilderList()
Custom headers to set in the request.
|
String |
getPath()
Path to access on the HTTP server.
|
com.google.protobuf.ByteString |
getPathBytes()
Path to access on the HTTP server.
|
IntStr.IntOrString |
getPort()
Name or number of the port to access on the container.
|
IntStr.IntOrString.Builder |
getPortBuilder()
Name or number of the port to access on the container.
|
IntStr.IntOrStringOrBuilder |
getPortOrBuilder()
Name or number of the port to access on the container.
|
String |
getScheme()
Scheme to use for connecting to the host.
|
com.google.protobuf.ByteString |
getSchemeBytes()
Scheme to use for connecting to the host.
|
boolean |
hasHost()
Host name to connect to, defaults to the pod IP.
|
boolean |
hasPath()
Path to access on the HTTP server.
|
boolean |
hasPort()
Name or number of the port to access on the container.
|
boolean |
hasScheme()
Scheme to use for connecting to the host.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.HTTPGetAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.HTTPGetAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.HTTPGetAction.Builder |
mergeFrom(V1.HTTPGetAction other) |
V1.HTTPGetAction.Builder |
mergePort(IntStr.IntOrString value)
Name or number of the port to access on the container.
|
V1.HTTPGetAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.HTTPGetAction.Builder |
removeHttpHeaders(int index)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.HTTPGetAction.Builder |
setHost(String value)
Host name to connect to, defaults to the pod IP.
|
V1.HTTPGetAction.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Host name to connect to, defaults to the pod IP.
|
V1.HTTPGetAction.Builder |
setHttpHeaders(int index,
V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
setHttpHeaders(int index,
V1.HTTPHeader value)
Custom headers to set in the request.
|
V1.HTTPGetAction.Builder |
setPath(String value)
Path to access on the HTTP server.
|
V1.HTTPGetAction.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path to access on the HTTP server.
|
V1.HTTPGetAction.Builder |
setPort(IntStr.IntOrString.Builder builderForValue)
Name or number of the port to access on the container.
|
V1.HTTPGetAction.Builder |
setPort(IntStr.IntOrString value)
Name or number of the port to access on the container.
|
V1.HTTPGetAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.HTTPGetAction.Builder |
setScheme(String value)
Scheme to use for connecting to the host.
|
V1.HTTPGetAction.Builder |
setSchemeBytes(com.google.protobuf.ByteString value)
Scheme to use for connecting to the host.
|
V1.HTTPGetAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.HTTPGetAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.HTTPGetAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.HTTPGetAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder mergeFrom(V1.HTTPGetAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public V1.HTTPGetAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.HTTPGetAction.Builder>IOExceptionpublic boolean hasPath()
Path to access on the HTTP server. +optional
optional string path = 1;hasPath in interface V1.HTTPGetActionOrBuilderpublic String getPath()
Path to access on the HTTP server. +optional
optional string path = 1;getPath in interface V1.HTTPGetActionOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path to access on the HTTP server. +optional
optional string path = 1;getPathBytes in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPGetAction.Builder setPath(String value)
Path to access on the HTTP server. +optional
optional string path = 1;public V1.HTTPGetAction.Builder clearPath()
Path to access on the HTTP server. +optional
optional string path = 1;public V1.HTTPGetAction.Builder setPathBytes(com.google.protobuf.ByteString value)
Path to access on the HTTP server. +optional
optional string path = 1;public 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;hasPort in interface V1.HTTPGetActionOrBuilderpublic IntStr.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;getPort in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPGetAction.Builder setPort(IntStr.IntOrString value)
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;public V1.HTTPGetAction.Builder setPort(IntStr.IntOrString.Builder builderForValue)
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;public V1.HTTPGetAction.Builder mergePort(IntStr.IntOrString value)
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;public V1.HTTPGetAction.Builder clearPort()
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;public IntStr.IntOrString.Builder getPortBuilder()
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;public IntStr.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;getPortOrBuilder in interface V1.HTTPGetActionOrBuilderpublic 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;hasHost in interface V1.HTTPGetActionOrBuilderpublic 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;getHost in interface V1.HTTPGetActionOrBuilderpublic 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;getHostBytes in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPGetAction.Builder setHost(String value)
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;public V1.HTTPGetAction.Builder clearHost()
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;public V1.HTTPGetAction.Builder setHostBytes(com.google.protobuf.ByteString value)
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;public boolean hasScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;hasScheme in interface V1.HTTPGetActionOrBuilderpublic String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;getScheme in interface V1.HTTPGetActionOrBuilderpublic com.google.protobuf.ByteString getSchemeBytes()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;getSchemeBytes in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPGetAction.Builder setScheme(String value)
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;public V1.HTTPGetAction.Builder clearScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;public V1.HTTPGetAction.Builder setSchemeBytes(com.google.protobuf.ByteString value)
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;public List<V1.HTTPHeader> getHttpHeadersList()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;getHttpHeadersList in interface V1.HTTPGetActionOrBuilderpublic int getHttpHeadersCount()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;getHttpHeadersCount in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPHeader getHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;getHttpHeaders in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPGetAction.Builder setHttpHeaders(int index, V1.HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder setHttpHeaders(int index, V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder addHttpHeaders(V1.HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder addHttpHeaders(int index, V1.HTTPHeader value)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder addHttpHeaders(V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder addHttpHeaders(int index, V1.HTTPHeader.Builder builderForValue)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder addAllHttpHeaders(Iterable<? extends V1.HTTPHeader> values)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder clearHttpHeaders()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPGetAction.Builder removeHttpHeaders(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPHeader.Builder getHttpHeadersBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;getHttpHeadersOrBuilder in interface V1.HTTPGetActionOrBuilderpublic List<? extends V1.HTTPHeaderOrBuilder> getHttpHeadersOrBuilderList()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;getHttpHeadersOrBuilderList in interface V1.HTTPGetActionOrBuilderpublic V1.HTTPHeader.Builder addHttpHeadersBuilder()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public V1.HTTPHeader.Builder addHttpHeadersBuilder(int index)
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public List<V1.HTTPHeader.Builder> getHttpHeadersBuilderList()
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;public final V1.HTTPGetAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>public final V1.HTTPGetAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>Copyright © 2020. All rights reserved.