Class SshScript.Builder (2.51.0)

public static final class SshScript.Builder extends GeneratedMessageV3.Builder<SshScript.Builder> implements SshScriptOrBuilder

Response message for 'GenerateSshScript' request.

Protobuf type google.cloud.clouddms.v1.SshScript

Implements

SshScriptOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SshScript.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SshScript.Builder
Overrides

build()

public SshScript build()
Returns
Type Description
SshScript

buildPartial()

public SshScript buildPartial()
Returns
Type Description
SshScript

clear()

public SshScript.Builder clear()
Returns
Type Description
SshScript.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SshScript.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SshScript.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SshScript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SshScript.Builder
Overrides

clearScript()

public SshScript.Builder clearScript()

The ssh configuration script.

string script = 1;

Returns
Type Description
SshScript.Builder

This builder for chaining.

clone()

public SshScript.Builder clone()
Returns
Type Description
SshScript.Builder
Overrides

getDefaultInstanceForType()

public SshScript getDefaultInstanceForType()
Returns
Type Description
SshScript

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getScript()

public String getScript()

The ssh configuration script.

string script = 1;

Returns
Type Description
String

The script.

getScriptBytes()

public ByteString getScriptBytes()

The ssh configuration script.

string script = 1;

Returns
Type Description
ByteString

The bytes for script.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SshScript other)

public SshScript.Builder mergeFrom(SshScript other)
Parameter
Name Description
other SshScript
Returns
Type Description
SshScript.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SshScript.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SshScript.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SshScript.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SshScript.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SshScript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SshScript.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SshScript.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SshScript.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SshScript.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SshScript.Builder
Overrides

setScript(String value)

public SshScript.Builder setScript(String value)

The ssh configuration script.

string script = 1;

Parameter
Name Description
value String

The script to set.

Returns
Type Description
SshScript.Builder

This builder for chaining.

setScriptBytes(ByteString value)

public SshScript.Builder setScriptBytes(ByteString value)

The ssh configuration script.

string script = 1;

Parameter
Name Description
value ByteString

The bytes for script to set.

Returns
Type Description
SshScript.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SshScript.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SshScript.Builder
Overrides