public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Source or destination of the Connectivity Test.Protobuf type
google.cloud.networkmanagement.v1beta1.Endpoint| Modifier and Type | Method and Description |
|---|---|
Endpoint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint |
build() |
Endpoint |
buildPartial() |
Endpoint.Builder |
clear() |
Endpoint.Builder |
clearCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.Builder |
clearCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
Endpoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Endpoint.Builder |
clearGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
Endpoint.Builder |
clearInstance()
A Compute Engine instance URI.
|
Endpoint.Builder |
clearIpAddress()
The IP address of the endpoint, which can be an external or internal IP.
|
Endpoint.Builder |
clearNetwork()
A Compute Engine network URI.
|
Endpoint.Builder |
clearNetworkType()
Type of the network where the endpoint is located.
|
Endpoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Endpoint.Builder |
clearPort()
The IP protocol port of the endpoint.
|
Endpoint.Builder |
clearProjectId()
Project ID where the endpoint is located.
|
Endpoint.Builder |
clone() |
Endpoint.CloudFunctionEndpoint |
getCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.CloudFunctionEndpoint.Builder |
getCloudFunctionBuilder()
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.CloudFunctionEndpointOrBuilder |
getCloudFunctionOrBuilder()
A [Cloud function](https://cloud.google.com/functions).
|
String |
getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
com.google.protobuf.ByteString |
getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
Endpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
com.google.protobuf.ByteString |
getGkeMasterClusterBytes()
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
String |
getInstance()
A Compute Engine instance URI.
|
com.google.protobuf.ByteString |
getInstanceBytes()
A Compute Engine instance URI.
|
String |
getIpAddress()
The IP address of the endpoint, which can be an external or internal IP.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
The IP address of the endpoint, which can be an external or internal IP.
|
String |
getNetwork()
A Compute Engine network URI.
|
com.google.protobuf.ByteString |
getNetworkBytes()
A Compute Engine network URI.
|
Endpoint.NetworkType |
getNetworkType()
Type of the network where the endpoint is located.
|
int |
getNetworkTypeValue()
Type of the network where the endpoint is located.
|
int |
getPort()
The IP protocol port of the endpoint.
|
String |
getProjectId()
Project ID where the endpoint is located.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project ID where the endpoint is located.
|
boolean |
hasCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Endpoint.Builder |
mergeCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Endpoint.Builder |
mergeFrom(Endpoint other) |
Endpoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
Endpoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Endpoint.Builder |
setCloudFunction(Endpoint.CloudFunctionEndpoint.Builder builderForValue)
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.Builder |
setCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud function](https://cloud.google.com/functions).
|
Endpoint.Builder |
setCloudSqlInstance(String value)
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
Endpoint.Builder |
setCloudSqlInstanceBytes(com.google.protobuf.ByteString value)
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
Endpoint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint.Builder |
setGkeMasterCluster(String value)
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
Endpoint.Builder |
setGkeMasterClusterBytes(com.google.protobuf.ByteString value)
A cluster URI for [Google Kubernetes Engine
master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
Endpoint.Builder |
setInstance(String value)
A Compute Engine instance URI.
|
Endpoint.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
A Compute Engine instance URI.
|
Endpoint.Builder |
setIpAddress(String value)
The IP address of the endpoint, which can be an external or internal IP.
|
Endpoint.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
The IP address of the endpoint, which can be an external or internal IP.
|
Endpoint.Builder |
setNetwork(String value)
A Compute Engine network URI.
|
Endpoint.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
A Compute Engine network URI.
|
Endpoint.Builder |
setNetworkType(Endpoint.NetworkType value)
Type of the network where the endpoint is located.
|
Endpoint.Builder |
setNetworkTypeValue(int value)
Type of the network where the endpoint is located.
|
Endpoint.Builder |
setPort(int value)
The IP protocol port of the endpoint.
|
Endpoint.Builder |
setProjectId(String value)
Project ID where the endpoint is located.
|
Endpoint.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Project ID where the endpoint is located.
|
Endpoint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Endpoint.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Endpoint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Endpoint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Endpoint.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(Endpoint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>IOExceptionpublic String getIpAddress()
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;getIpAddress in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;getIpAddressBytes in interface EndpointOrBuilderpublic Endpoint.Builder setIpAddress(String value)
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;value - The ipAddress to set.public Endpoint.Builder clearIpAddress()
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;public Endpoint.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;value - The bytes for ipAddress to set.public int getPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;getPort in interface EndpointOrBuilderpublic Endpoint.Builder setPort(int value)
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;value - The port to set.public Endpoint.Builder clearPort()
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
int32 port = 2;public String getInstance()
A Compute Engine instance URI.
string instance = 3;getInstance in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
A Compute Engine instance URI.
string instance = 3;getInstanceBytes in interface EndpointOrBuilderpublic Endpoint.Builder setInstance(String value)
A Compute Engine instance URI.
string instance = 3;value - The instance to set.public Endpoint.Builder clearInstance()
A Compute Engine instance URI.
string instance = 3;public Endpoint.Builder setInstanceBytes(com.google.protobuf.ByteString value)
A Compute Engine instance URI.
string instance = 3;value - The bytes for instance to set.public String getGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;getGkeMasterCluster in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getGkeMasterClusterBytes()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;getGkeMasterClusterBytes in interface EndpointOrBuilderpublic Endpoint.Builder setGkeMasterCluster(String value)
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;value - The gkeMasterCluster to set.public Endpoint.Builder clearGkeMasterCluster()
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;public Endpoint.Builder setGkeMasterClusterBytes(com.google.protobuf.ByteString value)
A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
string gke_master_cluster = 7;value - The bytes for gkeMasterCluster to set.public String getCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;getCloudSqlInstance in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getCloudSqlInstanceBytes()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;getCloudSqlInstanceBytes in interface EndpointOrBuilderpublic Endpoint.Builder setCloudSqlInstance(String value)
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;value - The cloudSqlInstance to set.public Endpoint.Builder clearCloudSqlInstance()
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;public Endpoint.Builder setCloudSqlInstanceBytes(com.google.protobuf.ByteString value)
A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;value - The bytes for cloudSqlInstance to set.public boolean hasCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
hasCloudFunction in interface EndpointOrBuilderpublic Endpoint.CloudFunctionEndpoint getCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
getCloudFunction in interface EndpointOrBuilderpublic Endpoint.Builder setCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
public Endpoint.Builder setCloudFunction(Endpoint.CloudFunctionEndpoint.Builder builderForValue)
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
public Endpoint.Builder mergeCloudFunction(Endpoint.CloudFunctionEndpoint value)
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
public Endpoint.Builder clearCloudFunction()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
public Endpoint.CloudFunctionEndpoint.Builder getCloudFunctionBuilder()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
public Endpoint.CloudFunctionEndpointOrBuilder getCloudFunctionOrBuilder()
A [Cloud function](https://cloud.google.com/functions).
.google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
getCloudFunctionOrBuilder in interface EndpointOrBuilderpublic String getNetwork()
A Compute Engine network URI.
string network = 4;getNetwork in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
A Compute Engine network URI.
string network = 4;getNetworkBytes in interface EndpointOrBuilderpublic Endpoint.Builder setNetwork(String value)
A Compute Engine network URI.
string network = 4;value - The network to set.public Endpoint.Builder clearNetwork()
A Compute Engine network URI.
string network = 4;public Endpoint.Builder setNetworkBytes(com.google.protobuf.ByteString value)
A Compute Engine network URI.
string network = 4;value - The bytes for network to set.public int getNetworkTypeValue()
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;getNetworkTypeValue in interface EndpointOrBuilderpublic Endpoint.Builder setNetworkTypeValue(int value)
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;value - The enum numeric value on the wire for networkType to set.public Endpoint.NetworkType getNetworkType()
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;getNetworkType in interface EndpointOrBuilderpublic Endpoint.Builder setNetworkType(Endpoint.NetworkType value)
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;value - The networkType to set.public Endpoint.Builder clearNetworkType()
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
.google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType network_type = 5;public String getProjectId()
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;getProjectId in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;getProjectIdBytes in interface EndpointOrBuilderpublic Endpoint.Builder setProjectId(String value)
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;value - The projectId to set.public Endpoint.Builder clearProjectId()
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;public Endpoint.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
string project_id = 6;value - The bytes for projectId to set.public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>Copyright © 2022 Google LLC. All rights reserved.