Package io.kubernetes.client.proto
Class V1.HTTPGetAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
io.kubernetes.client.proto.V1.HTTPGetAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.HTTPGetActionOrBuilder
,Cloneable
- Enclosing class:
- V1.HTTPGetAction
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
-
Method Summary
Modifier and TypeMethodDescriptionaddAllHttpHeaders
(Iterable<? extends V1.HTTPHeader> values) Custom headers to set in the request.addHttpHeaders
(int index, V1.HTTPHeader value) Custom headers to set in the request.addHttpHeaders
(int index, V1.HTTPHeader.Builder builderForValue) Custom headers to set in the request.addHttpHeaders
(V1.HTTPHeader value) Custom headers to set in the request.addHttpHeaders
(V1.HTTPHeader.Builder builderForValue) Custom headers to set in the request.Custom headers to set in the request.addHttpHeadersBuilder
(int index) Custom headers to set in the request.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Host name to connect to, defaults to the pod IP.Custom headers to set in the request.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Path to access on the HTTP server.Name or number of the port to access on the container.Scheme to use for connecting to the host.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getHost()
Host name to connect to, defaults to the pod IP.com.google.protobuf.ByteString
Host name to connect to, defaults to the pod IP.getHttpHeaders
(int index) Custom headers to set in the request.getHttpHeadersBuilder
(int index) Custom headers to set in the request.Custom headers to set in the request.int
Custom headers to set in the request.Custom headers to set in the request.getHttpHeadersOrBuilder
(int index) Custom headers to set in the request.List<? extends V1.HTTPHeaderOrBuilder>
Custom headers to set in the request.getPath()
Path to access on the HTTP server.com.google.protobuf.ByteString
Path to access on the HTTP server.getPort()
Name or number of the port to access on the container.Name or number of the port to access on the container.Name or number of the port to access on the container.Scheme to use for connecting to the host.com.google.protobuf.ByteString
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
Scheme to use for connecting to the host.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.HTTPGetAction other) mergePort
(IntStr.IntOrString value) Name or number of the port to access on the container.final V1.HTTPGetAction.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeHttpHeaders
(int index) Custom headers to set in the request.Host name to connect to, defaults to the pod IP.setHostBytes
(com.google.protobuf.ByteString value) Host name to connect to, defaults to the pod IP.setHttpHeaders
(int index, V1.HTTPHeader value) Custom headers to set in the request.setHttpHeaders
(int index, V1.HTTPHeader.Builder builderForValue) Custom headers to set in the request.Path to access on the HTTP server.setPathBytes
(com.google.protobuf.ByteString value) Path to access on the HTTP server.setPort
(IntStr.IntOrString value) Name or number of the port to access on the container.setPort
(IntStr.IntOrString.Builder builderForValue) Name or number of the port to access on the container.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Scheme to use for connecting to the host.setSchemeBytes
(com.google.protobuf.ByteString value) Scheme to use for connecting to the host.final V1.HTTPGetAction.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
setField
public V1.HTTPGetAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
setRepeatedField
public V1.HTTPGetAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
addRepeatedField
public V1.HTTPGetAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.HTTPGetAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
mergeFrom
public V1.HTTPGetAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.HTTPGetAction.Builder>
- Throws:
IOException
-
hasPath
public boolean hasPath()Path to access on the HTTP server. +optional
optional string path = 1;
- Specified by:
hasPath
in interfaceV1.HTTPGetActionOrBuilder
-
getPath
Path to access on the HTTP server. +optional
optional string path = 1;
- Specified by:
getPath
in interfaceV1.HTTPGetActionOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Path to access on the HTTP server. +optional
optional string path = 1;
- Specified by:
getPathBytes
in interfaceV1.HTTPGetActionOrBuilder
-
setPath
Path to access on the HTTP server. +optional
optional string path = 1;
-
clearPath
Path to access on the HTTP server. +optional
optional string path = 1;
-
setPathBytes
Path to access on the HTTP server. +optional
optional string path = 1;
-
hasPort
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;
- Specified by:
hasPort
in interfaceV1.HTTPGetActionOrBuilder
-
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;
- Specified by:
getPort
in interfaceV1.HTTPGetActionOrBuilder
-
setPort
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;
-
setPort
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;
-
mergePort
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;
-
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;
-
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;
-
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;
- Specified by:
getPortOrBuilder
in interfaceV1.HTTPGetActionOrBuilder
-
hasHost
public 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;
- Specified by:
hasHost
in interfaceV1.HTTPGetActionOrBuilder
-
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;
- Specified by:
getHost
in interfaceV1.HTTPGetActionOrBuilder
-
getHostBytes
public 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;
- Specified by:
getHostBytes
in interfaceV1.HTTPGetActionOrBuilder
-
setHost
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;
-
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;
-
setHostBytes
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
optional string host = 3;
-
hasScheme
public boolean hasScheme()Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
- Specified by:
hasScheme
in interfaceV1.HTTPGetActionOrBuilder
-
getScheme
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
- Specified by:
getScheme
in interfaceV1.HTTPGetActionOrBuilder
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
- Specified by:
getSchemeBytes
in interfaceV1.HTTPGetActionOrBuilder
-
setScheme
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
-
clearScheme
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
-
setSchemeBytes
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;
-
getHttpHeadersList
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
- Specified by:
getHttpHeadersList
in interfaceV1.HTTPGetActionOrBuilder
-
getHttpHeadersCount
public int getHttpHeadersCount()Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
- Specified by:
getHttpHeadersCount
in interfaceV1.HTTPGetActionOrBuilder
-
getHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
- Specified by:
getHttpHeaders
in interfaceV1.HTTPGetActionOrBuilder
-
setHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
setHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addAllHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
clearHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
removeHttpHeaders
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersBuilder
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersOrBuilder
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
- Specified by:
getHttpHeadersOrBuilder
in interfaceV1.HTTPGetActionOrBuilder
-
getHttpHeadersOrBuilderList
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
- Specified by:
getHttpHeadersOrBuilderList
in interfaceV1.HTTPGetActionOrBuilder
-
addHttpHeadersBuilder
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
addHttpHeadersBuilder
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
getHttpHeadersBuilderList
Custom headers to set in the request. HTTP allows repeated headers. +optional
repeated .k8s.io.api.core.v1.HTTPHeader httpHeaders = 5;
-
setUnknownFields
public final V1.HTTPGetAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
mergeUnknownFields
public final V1.HTTPGetAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-