Package k8s.io.api.core.v1
Class Generated.PodLogOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
- k8s.io.api.core.v1.Generated.PodLogOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.PodLogOptionsOrBuilder
- Enclosing class:
- Generated.PodLogOptions
public static final class Generated.PodLogOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder> implements Generated.PodLogOptionsOrBuilder
PodLogOptions is the query options for a Pod's logs REST call.
Protobuf typek8s.io.api.core.v1.PodLogOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.PodLogOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PodLogOptionsbuild()Generated.PodLogOptionsbuildPartial()Generated.PodLogOptions.Builderclear()Generated.PodLogOptions.BuilderclearContainer()The container for which to stream logs.Generated.PodLogOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.PodLogOptions.BuilderclearFollow()Follow the log stream of the pod.Generated.PodLogOptions.BuilderclearInsecureSkipTLSVerifyBackend()insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.Generated.PodLogOptions.BuilderclearLimitBytes()If set, the number of bytes to read from the server before terminating the log output.Generated.PodLogOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.PodLogOptions.BuilderclearPrevious()Return previous terminated container logs.Generated.PodLogOptions.BuilderclearSinceSeconds()A relative time in seconds before the current time from which to show logs.Generated.PodLogOptions.BuilderclearSinceTime()An RFC3339 timestamp from which to show logs.Generated.PodLogOptions.BuilderclearStream()Specify which container log stream to return to the client.Generated.PodLogOptions.BuilderclearTailLines()If set, the number of lines from the end of the logs to show.Generated.PodLogOptions.BuilderclearTimestamps()If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.Generated.PodLogOptions.Builderclone()StringgetContainer()The container for which to stream logs.com.google.protobuf.ByteStringgetContainerBytes()The container for which to stream logs.Generated.PodLogOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetFollow()Follow the log stream of the pod.booleangetInsecureSkipTLSVerifyBackend()insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.longgetLimitBytes()If set, the number of bytes to read from the server before terminating the log output.booleangetPrevious()Return previous terminated container logs.longgetSinceSeconds()A relative time in seconds before the current time from which to show logs.Generated.TimegetSinceTime()An RFC3339 timestamp from which to show logs.Generated.Time.BuildergetSinceTimeBuilder()An RFC3339 timestamp from which to show logs.Generated.TimeOrBuildergetSinceTimeOrBuilder()An RFC3339 timestamp from which to show logs.StringgetStream()Specify which container log stream to return to the client.com.google.protobuf.ByteStringgetStreamBytes()Specify which container log stream to return to the client.longgetTailLines()If set, the number of lines from the end of the logs to show.booleangetTimestamps()If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.booleanhasContainer()The container for which to stream logs.booleanhasFollow()Follow the log stream of the pod.booleanhasInsecureSkipTLSVerifyBackend()insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.booleanhasLimitBytes()If set, the number of bytes to read from the server before terminating the log output.booleanhasPrevious()Return previous terminated container logs.booleanhasSinceSeconds()A relative time in seconds before the current time from which to show logs.booleanhasSinceTime()An RFC3339 timestamp from which to show logs.booleanhasStream()Specify which container log stream to return to the client.booleanhasTailLines()If set, the number of lines from the end of the logs to show.booleanhasTimestamps()If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.PodLogOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.PodLogOptions.BuildermergeFrom(com.google.protobuf.Message other)Generated.PodLogOptions.BuildermergeFrom(Generated.PodLogOptions other)Generated.PodLogOptions.BuildermergeSinceTime(Generated.Time value)An RFC3339 timestamp from which to show logs.Generated.PodLogOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PodLogOptions.BuildersetContainer(String value)The container for which to stream logs.Generated.PodLogOptions.BuildersetContainerBytes(com.google.protobuf.ByteString value)The container for which to stream logs.Generated.PodLogOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PodLogOptions.BuildersetFollow(boolean value)Follow the log stream of the pod.Generated.PodLogOptions.BuildersetInsecureSkipTLSVerifyBackend(boolean value)insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.Generated.PodLogOptions.BuildersetLimitBytes(long value)If set, the number of bytes to read from the server before terminating the log output.Generated.PodLogOptions.BuildersetPrevious(boolean value)Return previous terminated container logs.Generated.PodLogOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.PodLogOptions.BuildersetSinceSeconds(long value)A relative time in seconds before the current time from which to show logs.Generated.PodLogOptions.BuildersetSinceTime(Generated.Time value)An RFC3339 timestamp from which to show logs.Generated.PodLogOptions.BuildersetSinceTime(Generated.Time.Builder builderForValue)An RFC3339 timestamp from which to show logs.Generated.PodLogOptions.BuildersetStream(String value)Specify which container log stream to return to the client.Generated.PodLogOptions.BuildersetStreamBytes(com.google.protobuf.ByteString value)Specify which container log stream to return to the client.Generated.PodLogOptions.BuildersetTailLines(long value)If set, the number of lines from the end of the logs to show.Generated.PodLogOptions.BuildersetTimestamps(boolean value)If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.Generated.PodLogOptions.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
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<Generated.PodLogOptions.Builder>
-
clear
public Generated.PodLogOptions.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<Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>
-
getDefaultInstanceForType
public Generated.PodLogOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.PodLogOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.PodLogOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>
-
setField
public Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>
-
clearField
public Generated.PodLogOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
clearOneof
public Generated.PodLogOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
setRepeatedField
public Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>
-
addRepeatedField
public Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>
-
mergeFrom
public Generated.PodLogOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PodLogOptions.Builder>
-
mergeFrom
public Generated.PodLogOptions.Builder mergeFrom(Generated.PodLogOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
mergeFrom
public Generated.PodLogOptions.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<Generated.PodLogOptions.Builder>- Throws:
IOException
-
hasContainer
public boolean hasContainer()
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Specified by:
hasContainerin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the container field is set.
-
getContainer
public String getContainer()
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Specified by:
getContainerin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Specified by:
getContainerBytesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The bytes for container.
-
setContainer
public Generated.PodLogOptions.Builder setContainer(String value)
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Parameters:
value- The container to set.- Returns:
- This builder for chaining.
-
clearContainer
public Generated.PodLogOptions.Builder clearContainer()
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Returns:
- This builder for chaining.
-
setContainerBytes
public Generated.PodLogOptions.Builder setContainerBytes(com.google.protobuf.ByteString value)
The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional
optional string container = 1;- Parameters:
value- The bytes for container to set.- Returns:
- This builder for chaining.
-
hasFollow
public boolean hasFollow()
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;- Specified by:
hasFollowin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the follow field is set.
-
getFollow
public boolean getFollow()
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;- Specified by:
getFollowin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The follow.
-
setFollow
public Generated.PodLogOptions.Builder setFollow(boolean value)
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;- Parameters:
value- The follow to set.- Returns:
- This builder for chaining.
-
clearFollow
public Generated.PodLogOptions.Builder clearFollow()
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;- Returns:
- This builder for chaining.
-
hasPrevious
public boolean hasPrevious()
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;- Specified by:
hasPreviousin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the previous field is set.
-
getPrevious
public boolean getPrevious()
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;- Specified by:
getPreviousin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The previous.
-
setPrevious
public Generated.PodLogOptions.Builder setPrevious(boolean value)
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;- Parameters:
value- The previous to set.- Returns:
- This builder for chaining.
-
clearPrevious
public Generated.PodLogOptions.Builder clearPrevious()
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;- Returns:
- This builder for chaining.
-
hasSinceSeconds
public boolean hasSinceSeconds()
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional int64 sinceSeconds = 4;- Specified by:
hasSinceSecondsin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the sinceSeconds field is set.
-
getSinceSeconds
public long getSinceSeconds()
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional int64 sinceSeconds = 4;- Specified by:
getSinceSecondsin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The sinceSeconds.
-
setSinceSeconds
public Generated.PodLogOptions.Builder setSinceSeconds(long value)
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional int64 sinceSeconds = 4;- Parameters:
value- The sinceSeconds to set.- Returns:
- This builder for chaining.
-
clearSinceSeconds
public Generated.PodLogOptions.Builder clearSinceSeconds()
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional int64 sinceSeconds = 4;- Returns:
- This builder for chaining.
-
hasSinceTime
public boolean hasSinceTime()
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;- Specified by:
hasSinceTimein interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the sinceTime field is set.
-
getSinceTime
public Generated.Time getSinceTime()
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;- Specified by:
getSinceTimein interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The sinceTime.
-
setSinceTime
public Generated.PodLogOptions.Builder setSinceTime(Generated.Time value)
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
-
setSinceTime
public Generated.PodLogOptions.Builder setSinceTime(Generated.Time.Builder builderForValue)
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
-
mergeSinceTime
public Generated.PodLogOptions.Builder mergeSinceTime(Generated.Time value)
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
-
clearSinceTime
public Generated.PodLogOptions.Builder clearSinceTime()
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
-
getSinceTimeBuilder
public Generated.Time.Builder getSinceTimeBuilder()
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
-
getSinceTimeOrBuilder
public Generated.TimeOrBuilder getSinceTimeOrBuilder()
An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;- Specified by:
getSinceTimeOrBuilderin interfaceGenerated.PodLogOptionsOrBuilder
-
hasTimestamps
public boolean hasTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional
optional bool timestamps = 6;- Specified by:
hasTimestampsin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the timestamps field is set.
-
getTimestamps
public boolean getTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional
optional bool timestamps = 6;- Specified by:
getTimestampsin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The timestamps.
-
setTimestamps
public Generated.PodLogOptions.Builder setTimestamps(boolean value)
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional
optional bool timestamps = 6;- Parameters:
value- The timestamps to set.- Returns:
- This builder for chaining.
-
clearTimestamps
public Generated.PodLogOptions.Builder clearTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional
optional bool timestamps = 6;- Returns:
- This builder for chaining.
-
hasTailLines
public boolean hasTailLines()
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +optional
optional int64 tailLines = 7;- Specified by:
hasTailLinesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the tailLines field is set.
-
getTailLines
public long getTailLines()
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +optional
optional int64 tailLines = 7;- Specified by:
getTailLinesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The tailLines.
-
setTailLines
public Generated.PodLogOptions.Builder setTailLines(long value)
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +optional
optional int64 tailLines = 7;- Parameters:
value- The tailLines to set.- Returns:
- This builder for chaining.
-
clearTailLines
public Generated.PodLogOptions.Builder clearTailLines()
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +optional
optional int64 tailLines = 7;- Returns:
- This builder for chaining.
-
hasLimitBytes
public boolean hasLimitBytes()
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional
optional int64 limitBytes = 8;- Specified by:
hasLimitBytesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the limitBytes field is set.
-
getLimitBytes
public long getLimitBytes()
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional
optional int64 limitBytes = 8;- Specified by:
getLimitBytesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The limitBytes.
-
setLimitBytes
public Generated.PodLogOptions.Builder setLimitBytes(long value)
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional
optional int64 limitBytes = 8;- Parameters:
value- The limitBytes to set.- Returns:
- This builder for chaining.
-
clearLimitBytes
public Generated.PodLogOptions.Builder clearLimitBytes()
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional
optional int64 limitBytes = 8;- Returns:
- This builder for chaining.
-
hasInsecureSkipTLSVerifyBackend
public boolean hasInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional
optional bool insecureSkipTLSVerifyBackend = 9;- Specified by:
hasInsecureSkipTLSVerifyBackendin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the insecureSkipTLSVerifyBackend field is set.
-
getInsecureSkipTLSVerifyBackend
public boolean getInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional
optional bool insecureSkipTLSVerifyBackend = 9;- Specified by:
getInsecureSkipTLSVerifyBackendin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The insecureSkipTLSVerifyBackend.
-
setInsecureSkipTLSVerifyBackend
public Generated.PodLogOptions.Builder setInsecureSkipTLSVerifyBackend(boolean value)
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional
optional bool insecureSkipTLSVerifyBackend = 9;- Parameters:
value- The insecureSkipTLSVerifyBackend to set.- Returns:
- This builder for chaining.
-
clearInsecureSkipTLSVerifyBackend
public Generated.PodLogOptions.Builder clearInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional
optional bool insecureSkipTLSVerifyBackend = 9;- Returns:
- This builder for chaining.
-
hasStream
public boolean hasStream()
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Specified by:
hasStreamin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- Whether the stream field is set.
-
getStream
public String getStream()
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Specified by:
getStreamin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The stream.
-
getStreamBytes
public com.google.protobuf.ByteString getStreamBytes()
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Specified by:
getStreamBytesin interfaceGenerated.PodLogOptionsOrBuilder- Returns:
- The bytes for stream.
-
setStream
public Generated.PodLogOptions.Builder setStream(String value)
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Parameters:
value- The stream to set.- Returns:
- This builder for chaining.
-
clearStream
public Generated.PodLogOptions.Builder clearStream()
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Returns:
- This builder for chaining.
-
setStreamBytes
public Generated.PodLogOptions.Builder setStreamBytes(com.google.protobuf.ByteString value)
Specify which container log stream to return to the client. Acceptable values are "All", "Stdout" and "Stderr". If not specified, "All" is used, and both stdout and stderr are returned interleaved. Note that when "TailLines" is specified, "Stream" can only be set to nil or "All". +featureGate=PodLogsQuerySplitStreams +optional
optional string stream = 10;- Parameters:
value- The bytes for stream to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.PodLogOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
mergeUnknownFields
public final Generated.PodLogOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodLogOptions.Builder>
-
-