Class MaintenanceExclusionOptions (2.3.6)

public final class MaintenanceExclusionOptions extends GeneratedMessageV3 implements MaintenanceExclusionOptionsOrBuilder

Represents the Maintenance exclusion option.

Protobuf type google.container.v1.MaintenanceExclusionOptions

Static Fields

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MaintenanceExclusionOptions getDefaultInstance()
Returns
TypeDescription
MaintenanceExclusionOptions

getDescriptor()

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

newBuilder()

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

newBuilder(MaintenanceExclusionOptions prototype)

public static MaintenanceExclusionOptions.Builder newBuilder(MaintenanceExclusionOptions prototype)
Parameter
NameDescription
prototypeMaintenanceExclusionOptions
Returns
TypeDescription
MaintenanceExclusionOptions.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MaintenanceExclusionOptions getDefaultInstanceForType()
Returns
TypeDescription
MaintenanceExclusionOptions

getParserForType()

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

getScope()

public MaintenanceExclusionOptions.Scope getScope()

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
TypeDescription
MaintenanceExclusionOptions.Scope

The scope.

getScopeValue()

public int getScopeValue()

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for scope.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 MaintenanceExclusionOptions.Builder newBuilderForType()
Returns
TypeDescription
MaintenanceExclusionOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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