Class TcpProxyScript.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TcpProxyScript build()
Returns
TypeDescription
TcpProxyScript

buildPartial()

public TcpProxyScript buildPartial()
Returns
TypeDescription
TcpProxyScript

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScript()

public TcpProxyScript.Builder clearScript()

The TCP Proxy configuration script.

string script = 1;

Returns
TypeDescription
TcpProxyScript.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TcpProxyScript getDefaultInstanceForType()
Returns
TypeDescription
TcpProxyScript

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getScript()

public String getScript()

The TCP Proxy configuration script.

string script = 1;

Returns
TypeDescription
String

The script.

getScriptBytes()

public ByteString getScriptBytes()

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

public TcpProxyScript.Builder mergeFrom(TcpProxyScript other)
Parameter
NameDescription
otherTcpProxyScript
Returns
TypeDescription
TcpProxyScript.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScript(String value)

public TcpProxyScript.Builder setScript(String value)

The TCP Proxy configuration script.

string script = 1;

Parameter
NameDescription
valueString

The script to set.

Returns
TypeDescription
TcpProxyScript.Builder

This builder for chaining.

setScriptBytes(ByteString value)

public TcpProxyScript.Builder setScriptBytes(ByteString value)

The TCP Proxy configuration script.

string script = 1;

Parameter
NameDescription
valueByteString

The bytes for script to set.

Returns
TypeDescription
TcpProxyScript.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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