Class SshScript (2.28.0)

public final class SshScript extends GeneratedMessageV3 implements SshScriptOrBuilder

Response message for 'GenerateSshScript' request.

Protobuf type google.cloud.clouddms.v1.SshScript

Implements

SshScriptOrBuilder

Static Fields

SCRIPT_FIELD_NUMBER

public static final int SCRIPT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SshScript getDefaultInstance()
Returns
TypeDescription
SshScript

getDescriptor()

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

newBuilder()

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

newBuilder(SshScript prototype)

public static SshScript.Builder newBuilder(SshScript prototype)
Parameter
NameDescription
prototypeSshScript
Returns
TypeDescription
SshScript.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SshScript getDefaultInstanceForType()
Returns
TypeDescription
SshScript

getParserForType()

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

getScript()

public String getScript()

The ssh configuration script.

string script = 1;

Returns
TypeDescription
String

The script.

getScriptBytes()

public ByteString getScriptBytes()

The ssh configuration script.

string script = 1;

Returns
TypeDescription
ByteString

The bytes for script.

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 SshScript.Builder newBuilderForType()
Returns
TypeDescription
SshScript.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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