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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TcpProxyScript.BuilderImplements
TcpProxyScriptOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public TcpProxyScript.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TcpProxyScript.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TcpProxyScript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TcpProxyScript.Builder |
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 |
getDefaultInstanceForType()
public TcpProxyScript getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TcpProxyScript |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TcpProxyScript.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TcpProxyScript.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TcpProxyScript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TcpProxyScript.Builder |
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 |
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 |
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 |