Package com.google.cloud.clouddms.v1
Class GenerateTcpProxyScriptRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest
-
- All Implemented Interfaces:
GenerateTcpProxyScriptRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GenerateTcpProxyScriptRequest extends com.google.protobuf.GeneratedMessageV3 implements GenerateTcpProxyScriptRequestOrBuilder
Request message for 'GenerateTcpProxyScript' request.
Protobuf typegoogle.cloud.clouddms.v1.GenerateTcpProxyScriptRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerateTcpProxyScriptRequest.BuilderRequest message for 'GenerateTcpProxyScript' request.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMIGRATION_JOB_FIELD_NUMBERstatic intVM_MACHINE_TYPE_FIELD_NUMBERstatic intVM_NAME_FIELD_NUMBERstatic intVM_SUBNET_FIELD_NUMBERstatic intVM_ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static GenerateTcpProxyScriptRequestgetDefaultInstance()GenerateTcpProxyScriptRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMigrationJob()Name of the migration job resource to generate the TCP Proxy script.com.google.protobuf.ByteStringgetMigrationJobBytes()Name of the migration job resource to generate the TCP Proxy script.com.google.protobuf.Parser<GenerateTcpProxyScriptRequest>getParserForType()intgetSerializedSize()StringgetVmMachineType()Required.com.google.protobuf.ByteStringgetVmMachineTypeBytes()Required.StringgetVmName()Required.com.google.protobuf.ByteStringgetVmNameBytes()Required.StringgetVmSubnet()Required.com.google.protobuf.ByteStringgetVmSubnetBytes()Required.StringgetVmZone()Optional.com.google.protobuf.ByteStringgetVmZoneBytes()Optional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GenerateTcpProxyScriptRequest.BuildernewBuilder()static GenerateTcpProxyScriptRequest.BuildernewBuilder(GenerateTcpProxyScriptRequest prototype)GenerateTcpProxyScriptRequest.BuildernewBuilderForType()protected GenerateTcpProxyScriptRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GenerateTcpProxyScriptRequestparseDelimitedFrom(InputStream input)static GenerateTcpProxyScriptRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GenerateTcpProxyScriptRequestparseFrom(byte[] data)static GenerateTcpProxyScriptRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GenerateTcpProxyScriptRequestparseFrom(com.google.protobuf.ByteString data)static GenerateTcpProxyScriptRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GenerateTcpProxyScriptRequestparseFrom(com.google.protobuf.CodedInputStream input)static GenerateTcpProxyScriptRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GenerateTcpProxyScriptRequestparseFrom(InputStream input)static GenerateTcpProxyScriptRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GenerateTcpProxyScriptRequestparseFrom(ByteBuffer data)static GenerateTcpProxyScriptRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GenerateTcpProxyScriptRequest>parser()GenerateTcpProxyScriptRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MIGRATION_JOB_FIELD_NUMBER
public static final int MIGRATION_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_NAME_FIELD_NUMBER
public static final int VM_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_MACHINE_TYPE_FIELD_NUMBER
public static final int VM_MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_ZONE_FIELD_NUMBER
public static final int VM_ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_SUBNET_FIELD_NUMBER
public static final int VM_SUBNET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMigrationJob
public String getMigrationJob()
Name of the migration job resource to generate the TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getMigrationJobin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The migrationJob.
-
getMigrationJobBytes
public com.google.protobuf.ByteString getMigrationJobBytes()
Name of the migration job resource to generate the TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getMigrationJobBytesin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The bytes for migrationJob.
-
getVmName
public String getVmName()
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmNamein interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The vmName.
-
getVmNameBytes
public com.google.protobuf.ByteString getVmNameBytes()
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmNameBytesin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The bytes for vmName.
-
getVmMachineType
public String getVmMachineType()
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmMachineTypein interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The vmMachineType.
-
getVmMachineTypeBytes
public com.google.protobuf.ByteString getVmMachineTypeBytes()
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmMachineTypeBytesin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The bytes for vmMachineType.
-
getVmZone
public String getVmZone()
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVmZonein interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The vmZone.
-
getVmZoneBytes
public com.google.protobuf.ByteString getVmZoneBytes()
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVmZoneBytesin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The bytes for vmZone.
-
getVmSubnet
public String getVmSubnet()
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmSubnetin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The vmSubnet.
-
getVmSubnetBytes
public com.google.protobuf.ByteString getVmSubnetBytes()
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVmSubnetBytesin interfaceGenerateTcpProxyScriptRequestOrBuilder- Returns:
- The bytes for vmSubnet.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GenerateTcpProxyScriptRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GenerateTcpProxyScriptRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GenerateTcpProxyScriptRequest.Builder newBuilder()
-
newBuilder
public static GenerateTcpProxyScriptRequest.Builder newBuilder(GenerateTcpProxyScriptRequest prototype)
-
toBuilder
public GenerateTcpProxyScriptRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenerateTcpProxyScriptRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GenerateTcpProxyScriptRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GenerateTcpProxyScriptRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<GenerateTcpProxyScriptRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GenerateTcpProxyScriptRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-