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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHost()Host name to connect to, defaults to the pod IP.com.google.protobuf.ByteStringHost 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.intCustom 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.ByteStringPath 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.ByteStringScheme 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.booleanScheme to use for connecting to the host.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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.BuildermergeUnknownFields(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.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
setField
public V1.HTTPGetAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
addRepeatedField
public V1.HTTPGetAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.HTTPGetAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasPathin interfaceV1.HTTPGetActionOrBuilder
-
getPath
Path to access on the HTTP server. +optional
optional string path = 1;- Specified by:
getPathin interfaceV1.HTTPGetActionOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Path to access on the HTTP server. +optional
optional string path = 1;- Specified by:
getPathBytesin 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:
hasPortin 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:
getPortin 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:
getPortOrBuilderin 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:
hasHostin 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:
getHostin 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:
getHostBytesin 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:
hasSchemein interfaceV1.HTTPGetActionOrBuilder
-
getScheme
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Specified by:
getSchemein 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:
getSchemeBytesin 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:
getHttpHeadersListin 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:
getHttpHeadersCountin 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:
getHttpHeadersin 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:
getHttpHeadersOrBuilderin 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:
getHttpHeadersOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-
mergeUnknownFields
public final V1.HTTPGetAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.HTTPGetAction.Builder>
-