Class GkeBackupAgentConfig (2.40.0)

public final class GkeBackupAgentConfig extends GeneratedMessageV3 implements GkeBackupAgentConfigOrBuilder

Configuration for the Backup for GKE Agent.

Protobuf type google.container.v1.GkeBackupAgentConfig

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GkeBackupAgentConfig getDefaultInstance()
Returns
TypeDescription
GkeBackupAgentConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GkeBackupAgentConfig.Builder newBuilder()
Returns
TypeDescription
GkeBackupAgentConfig.Builder

newBuilder(GkeBackupAgentConfig prototype)

public static GkeBackupAgentConfig.Builder newBuilder(GkeBackupAgentConfig prototype)
Parameter
NameDescription
prototypeGkeBackupAgentConfig
Returns
TypeDescription
GkeBackupAgentConfig.Builder

parseDelimitedFrom(InputStream input)

public static GkeBackupAgentConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GkeBackupAgentConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GkeBackupAgentConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GkeBackupAgentConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GkeBackupAgentConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GkeBackupAgentConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GkeBackupAgentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeBackupAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GkeBackupAgentConfig> parser()
Returns
TypeDescription
Parser<GkeBackupAgentConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GkeBackupAgentConfig getDefaultInstanceForType()
Returns
TypeDescription
GkeBackupAgentConfig

getEnabled()

public boolean getEnabled()

Whether the Backup for GKE agent is enabled for this cluster.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<GkeBackupAgentConfig> getParserForType()
Returns
TypeDescription
Parser<GkeBackupAgentConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GkeBackupAgentConfig.Builder newBuilderForType()
Returns
TypeDescription
GkeBackupAgentConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GkeBackupAgentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GkeBackupAgentConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GkeBackupAgentConfig.Builder toBuilder()
Returns
TypeDescription
GkeBackupAgentConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException