public static final class ForwardSshTunnelConnectivity.Builder extends GeneratedMessageV3.Builder<ForwardSshTunnelConnectivity.Builder> implements ForwardSshTunnelConnectivityOrBuilder
Forward SSH Tunnel connectivity.
Protobuf type google.events.cloud.datastream.v1.ForwardSshTunnelConnectivity
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ForwardSshTunnelConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ForwardSshTunnelConnectivity build()
buildPartial()
public ForwardSshTunnelConnectivity buildPartial()
clear()
public ForwardSshTunnelConnectivity.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ForwardSshTunnelConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHostname()
public ForwardSshTunnelConnectivity.Builder clearHostname()
Required. Hostname for the SSH tunnel.
string hostname = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ForwardSshTunnelConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPort()
public ForwardSshTunnelConnectivity.Builder clearPort()
Port for the SSH tunnel, default value is 22.
int32 port = 3;
clearUsername()
public ForwardSshTunnelConnectivity.Builder clearUsername()
Required. Username for the SSH tunnel.
string username = 2;
clone()
public ForwardSshTunnelConnectivity.Builder clone()
Overrides
getDefaultInstanceForType()
public ForwardSshTunnelConnectivity getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHostname()
public String getHostname()
Required. Hostname for the SSH tunnel.
string hostname = 1;
Returns |
---|
Type | Description |
String | The hostname.
|
getHostnameBytes()
public ByteString getHostnameBytes()
Required. Hostname for the SSH tunnel.
string hostname = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for hostname.
|
getPort()
Port for the SSH tunnel, default value is 22.
int32 port = 3;
Returns |
---|
Type | Description |
int | The port.
|
getUsername()
public String getUsername()
Required. Username for the SSH tunnel.
string username = 2;
Returns |
---|
Type | Description |
String | The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
Required. Username for the SSH tunnel.
string username = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for username.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ForwardSshTunnelConnectivity other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(ForwardSshTunnelConnectivity other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ForwardSshTunnelConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ForwardSshTunnelConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHostname(String value)
public ForwardSshTunnelConnectivity.Builder setHostname(String value)
Required. Hostname for the SSH tunnel.
string hostname = 1;
Parameter |
---|
Name | Description |
value | String
The hostname to set.
|
setHostnameBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setHostnameBytes(ByteString value)
Required. Hostname for the SSH tunnel.
string hostname = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for hostname to set.
|
setPort(int value)
public ForwardSshTunnelConnectivity.Builder setPort(int value)
Port for the SSH tunnel, default value is 22.
int32 port = 3;
Parameter |
---|
Name | Description |
value | int
The port to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ForwardSshTunnelConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ForwardSshTunnelConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUsername(String value)
public ForwardSshTunnelConnectivity.Builder setUsername(String value)
Required. Username for the SSH tunnel.
string username = 2;
Parameter |
---|
Name | Description |
value | String
The username to set.
|
setUsernameBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setUsernameBytes(ByteString value)
Required. Username for the SSH tunnel.
string username = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for username to set.
|