Package k8s.io.api.core.v1
Class Generated.HTTPGetAction
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.HTTPGetAction
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.HTTPGetActionOrBuilder
- Enclosing class:
- Generated
public static final class Generated.HTTPGetAction extends com.google.protobuf.GeneratedMessageV3 implements Generated.HTTPGetActionOrBuilder
HTTPGetAction describes an action based on HTTP Get requests.
Protobuf typek8s.io.api.core.v1.HTTPGetAction- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.HTTPGetAction.BuilderHTTPGetAction describes an action based on HTTP Get requests.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intHOST_FIELD_NUMBERstatic intHTTPHEADERS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.HTTPGetAction>PARSERDeprecated.static intPATH_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intSCHEME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.HTTPGetActiongetDefaultInstance()Generated.HTTPGetActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<Generated.HTTPGetAction>getParserForType()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.intgetSerializedSize()inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.HTTPGetAction.BuildernewBuilder()static Generated.HTTPGetAction.BuildernewBuilder(Generated.HTTPGetAction prototype)Generated.HTTPGetAction.BuildernewBuilderForType()protected Generated.HTTPGetAction.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.HTTPGetActionparseDelimitedFrom(InputStream input)static Generated.HTTPGetActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HTTPGetActionparseFrom(byte[] data)static Generated.HTTPGetActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HTTPGetActionparseFrom(com.google.protobuf.ByteString data)static Generated.HTTPGetActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HTTPGetActionparseFrom(com.google.protobuf.CodedInputStream input)static Generated.HTTPGetActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HTTPGetActionparseFrom(InputStream input)static Generated.HTTPGetActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.HTTPGetActionparseFrom(ByteBuffer data)static Generated.HTTPGetActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.HTTPGetAction>parser()Generated.HTTPGetAction.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEME_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTPHEADERS_FIELD_NUMBER
public static final int HTTPHEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.HTTPGetAction> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasPath
public boolean hasPath()
Path to access on the HTTP server. +optional
optional string path = 1;- Specified by:
hasPathin interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
Path to access on the HTTP server. +optional
optional string path = 1;- Specified by:
getPathin interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path to access on the HTTP server. +optional
optional string path = 1;- Specified by:
getPathBytesin interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The bytes for path.
-
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 interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public 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;- Specified by:
getPortin interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The port.
-
getPortOrBuilder
public 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;- Specified by:
getPortOrBuilderin interfaceGenerated.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 interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public 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;- Specified by:
getHostin interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The host.
-
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 interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The bytes for host.
-
hasScheme
public boolean hasScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Specified by:
hasSchemein interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- Whether the scheme field is set.
-
getScheme
public String getScheme()
Scheme to use for connecting to the host. Defaults to HTTP. +optional
optional string scheme = 4;- Specified by:
getSchemein interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The scheme.
-
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 interfaceGenerated.HTTPGetActionOrBuilder- Returns:
- The bytes for scheme.
-
getHttpHeadersList
public 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;- Specified by:
getHttpHeadersListin interfaceGenerated.HTTPGetActionOrBuilder
-
getHttpHeadersOrBuilderList
public 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;- Specified by:
getHttpHeadersOrBuilderListin interfaceGenerated.HTTPGetActionOrBuilder
-
getHttpHeadersCount
public 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;- Specified by:
getHttpHeadersCountin interfaceGenerated.HTTPGetActionOrBuilder
-
getHttpHeaders
public 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;- Specified by:
getHttpHeadersin interfaceGenerated.HTTPGetActionOrBuilder
-
getHttpHeadersOrBuilder
public 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;- Specified by:
getHttpHeadersOrBuilderin interfaceGenerated.HTTPGetActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.HTTPGetAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.HTTPGetAction parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.HTTPGetAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.HTTPGetAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.HTTPGetAction.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.HTTPGetAction.Builder newBuilder()
-
newBuilder
public static Generated.HTTPGetAction.Builder newBuilder(Generated.HTTPGetAction prototype)
-
toBuilder
public Generated.HTTPGetAction.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.HTTPGetAction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.HTTPGetAction getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.HTTPGetAction> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.HTTPGetAction> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.HTTPGetAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-