Class UserCommands (0.53.0)

public final class UserCommands extends GeneratedMessageV3 implements UserCommandsOrBuilder

UserCommands contains the commands to be executed by the customer.

Protobuf type google.cloud.netapp.v1.UserCommands

Static Fields

COMMANDS_FIELD_NUMBER

public static final int COMMANDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserCommands getDefaultInstance()
Returns
Type Description
UserCommands

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UserCommands.Builder newBuilder()
Returns
Type Description
UserCommands.Builder

newBuilder(UserCommands prototype)

public static UserCommands.Builder newBuilder(UserCommands prototype)
Parameter
Name Description
prototype UserCommands
Returns
Type Description
UserCommands.Builder

parseDelimitedFrom(InputStream input)

public static UserCommands parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UserCommands parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UserCommands parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UserCommands parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UserCommands parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UserCommands parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UserCommands parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserCommands
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UserCommands> parser()
Returns
Type Description
Parser<UserCommands>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommands(int index)

public String getCommands(int index)

Output only. List of commands to be executed by the customer.

repeated string commands = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The commands at the given index.

getCommandsBytes(int index)

public ByteString getCommandsBytes(int index)

Output only. List of commands to be executed by the customer.

repeated string commands = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the commands at the given index.

getCommandsCount()

public int getCommandsCount()

Output only. List of commands to be executed by the customer.

repeated string commands = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of commands.

getCommandsList()

public ProtocolStringList getCommandsList()

Output only. List of commands to be executed by the customer.

repeated string commands = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the commands.

getDefaultInstanceForType()

public UserCommands getDefaultInstanceForType()
Returns
Type Description
UserCommands

getParserForType()

public Parser<UserCommands> getParserForType()
Returns
Type Description
Parser<UserCommands>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UserCommands.Builder newBuilderForType()
Returns
Type Description
UserCommands.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UserCommands.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UserCommands.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UserCommands.Builder toBuilder()
Returns
Type Description
UserCommands.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException