Class SshScript.Builder (2.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SshScript.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SshScript.Builder
Overrides

build()

public SshScript build()
Returns
TypeDescription
SshScript

buildPartial()

public SshScript buildPartial()
Returns
TypeDescription
SshScript

clear()

public SshScript.Builder clear()
Returns
TypeDescription
SshScript.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SshScript.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SshScript.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SshScript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SshScript.Builder
Overrides

clearScript()

public SshScript.Builder clearScript()

The ssh configuration script.

string script = 1;

Returns
TypeDescription
SshScript.Builder

This builder for chaining.

clone()

public SshScript.Builder clone()
Returns
TypeDescription
SshScript.Builder
Overrides

getDefaultInstanceForType()

public SshScript getDefaultInstanceForType()
Returns
TypeDescription
SshScript

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SshScript other)

public SshScript.Builder mergeFrom(SshScript other)
Parameter
NameDescription
otherSshScript
Returns
TypeDescription
SshScript.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SshScript.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SshScript.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SshScript.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SshScript.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SshScript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SshScript.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SshScript.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SshScript.Builder
Overrides

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

public SshScript.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SshScript.Builder
Overrides

setScript(String value)

public SshScript.Builder setScript(String value)

The ssh configuration script.

string script = 1;

Parameter
NameDescription
valueString

The script to set.

Returns
TypeDescription
SshScript.Builder

This builder for chaining.

setScriptBytes(ByteString value)

public SshScript.Builder setScriptBytes(ByteString value)

The ssh configuration script.

string script = 1;

Parameter
NameDescription
valueByteString

The bytes for script to set.

Returns
TypeDescription
SshScript.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SshScript.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SshScript.Builder
Overrides