Class NodeGroupsSimulateMaintenanceEventRequest (1.42.0)

public final class NodeGroupsSimulateMaintenanceEventRequest extends GeneratedMessageV3 implements NodeGroupsSimulateMaintenanceEventRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsSimulateMaintenanceEventRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NodeGroupsSimulateMaintenanceEventRequest

Static Fields

NODES_FIELD_NUMBER

public static final int NODES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeGroupsSimulateMaintenanceEventRequest getDefaultInstance()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest

getDescriptor()

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

newBuilder()

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

newBuilder(NodeGroupsSimulateMaintenanceEventRequest prototype)

public static NodeGroupsSimulateMaintenanceEventRequest.Builder newBuilder(NodeGroupsSimulateMaintenanceEventRequest prototype)
Parameter
NameDescription
prototypeNodeGroupsSimulateMaintenanceEventRequest
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NodeGroupsSimulateMaintenanceEventRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest

getNodes(int index)

public String getNodes(int index)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The nodes at the given index.

getNodesBytes(int index)

public ByteString getNodesBytes(int index)

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the nodes at the given index.

getNodesCount()

public int getNodesCount()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
TypeDescription
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

Names of the nodes to go under maintenance simulation.

repeated string nodes = 104993457;

Returns
TypeDescription
ProtocolStringList

A list containing the nodes.

getParserForType()

public Parser<NodeGroupsSimulateMaintenanceEventRequest> getParserForType()
Returns
TypeDescription
Parser<NodeGroupsSimulateMaintenanceEventRequest>
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 NodeGroupsSimulateMaintenanceEventRequest.Builder newBuilderForType()
Returns
TypeDescription
NodeGroupsSimulateMaintenanceEventRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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