Class TcpProxyScript.Builder (2.54.0)

public static final class TcpProxyScript.Builder extends GeneratedMessageV3.Builder<TcpProxyScript.Builder> implements TcpProxyScriptOrBuilder

Response message for 'GenerateTcpProxyScript' request.

Protobuf type google.cloud.clouddms.v1.TcpProxyScript

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TcpProxyScript build()
Returns
Type Description
TcpProxyScript

buildPartial()

public TcpProxyScript buildPartial()
Returns
Type Description
TcpProxyScript

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScript()

public TcpProxyScript.Builder clearScript()

The TCP Proxy configuration script.

string script = 1;

Returns
Type Description
TcpProxyScript.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TcpProxyScript getDefaultInstanceForType()
Returns
Type Description
TcpProxyScript

getDescriptorForType()

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

getScript()

public String getScript()

The TCP Proxy configuration script.

string script = 1;

Returns
Type Description
String

The script.

getScriptBytes()

public ByteString getScriptBytes()

The TCP Proxy 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(TcpProxyScript other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScript(String value)

public TcpProxyScript.Builder setScript(String value)

The TCP Proxy configuration script.

string script = 1;

Parameter
Name Description
value String

The script to set.

Returns
Type Description
TcpProxyScript.Builder

This builder for chaining.

setScriptBytes(ByteString value)

public TcpProxyScript.Builder setScriptBytes(ByteString value)

The TCP Proxy configuration script.

string script = 1;

Parameter
Name Description
value ByteString

The bytes for script to set.

Returns
Type Description
TcpProxyScript.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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