public static final class InternalRange.Migration.Builder extends GeneratedMessage.Builder<InternalRange.Migration.Builder> implements InternalRange.MigrationOrBuilderSpecification for migration with source and target resource names.
Protobuf type google.cloud.networkconnectivity.v1.InternalRange.Migration
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InternalRange.Migration.BuilderImplements
InternalRange.MigrationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InternalRange.Migration build()| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration |
|
buildPartial()
public InternalRange.Migration buildPartial()| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration |
|
clear()
public InternalRange.Migration.Builder clear()| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
|
clearSource()
public InternalRange.Migration.Builder clearSource()Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string source = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |
clearTarget()
public InternalRange.Migration.Builder clearTarget()Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string target = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InternalRange.Migration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSource()
public String getSource()Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string source = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string source = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
getTarget()
public String getTarget()Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string target = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The target. |
getTargetBytes()
public ByteString getTargetBytes()Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string target = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for target. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InternalRange.Migration other)
public InternalRange.Migration.Builder mergeFrom(InternalRange.Migration other)| Parameter | |
|---|---|
| Name | Description |
other |
InternalRange.Migration |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InternalRange.Migration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InternalRange.Migration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
|
setSource(String value)
public InternalRange.Migration.Builder setSource(String value)Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string source = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public InternalRange.Migration.Builder setSourceBytes(ByteString value)Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string source = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |
setTarget(String value)
public InternalRange.Migration.Builder setTarget(String value)Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string target = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe target to set. |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |
setTargetBytes(ByteString value)
public InternalRange.Migration.Builder setTargetBytes(ByteString value)Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}
string target = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for target to set. |
| Returns | |
|---|---|
| Type | Description |
InternalRange.Migration.Builder |
This builder for chaining. |