public final class NetworkEndpoint extends com.google.protobuf.GeneratedMessageV3 implements NetworkEndpointOrBuilder
The network endpoint.Protobuf type
google.cloud.compute.v1.NetworkEndpoint| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkEndpoint.Builder
The network endpoint.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
FQDN_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
IP_ADDRESS_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Metadata defined as annotations on the network endpoint.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Metadata defined as annotations on the network endpoint.
|
Map<String,String> |
getAnnotationsMap()
Metadata defined as annotations on the network endpoint.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Metadata defined as annotations on the network endpoint.
|
String |
getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint.
|
static NetworkEndpoint |
getDefaultInstance() |
NetworkEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFqdn()
Optional fully qualified domain name of network endpoint.
|
com.google.protobuf.ByteString |
getFqdnBytes()
Optional fully qualified domain name of network endpoint.
|
String |
getInstance()
The name for a specific VM instance that the IP address belongs to.
|
com.google.protobuf.ByteString |
getInstanceBytes()
The name for a specific VM instance that the IP address belongs to.
|
String |
getIpAddress()
Optional IPv4 address of network endpoint.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Optional IPv4 address of network endpoint.
|
com.google.protobuf.Parser<NetworkEndpoint> |
getParserForType() |
int |
getPort()
Optional port number of network endpoint.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFqdn()
Optional fully qualified domain name of network endpoint.
|
int |
hashCode() |
boolean |
hasInstance()
The name for a specific VM instance that the IP address belongs to.
|
boolean |
hasIpAddress()
Optional IPv4 address of network endpoint.
|
boolean |
hasPort()
Optional port number of network endpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NetworkEndpoint.Builder |
newBuilder() |
static NetworkEndpoint.Builder |
newBuilder(NetworkEndpoint prototype) |
NetworkEndpoint.Builder |
newBuilderForType() |
protected NetworkEndpoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NetworkEndpoint |
parseDelimitedFrom(InputStream input) |
static NetworkEndpoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpoint |
parseFrom(byte[] data) |
static NetworkEndpoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpoint |
parseFrom(ByteBuffer data) |
static NetworkEndpoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpoint |
parseFrom(com.google.protobuf.ByteString data) |
static NetworkEndpoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NetworkEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpoint |
parseFrom(InputStream input) |
static NetworkEndpoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NetworkEndpoint> |
parser() |
NetworkEndpoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ANNOTATIONS_FIELD_NUMBER
public static final int FQDN_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAnnotationsCount()
NetworkEndpointOrBuilderMetadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;getAnnotationsCount in interface NetworkEndpointOrBuilderpublic boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;containsAnnotations in interface NetworkEndpointOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface NetworkEndpointOrBuilderpublic Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;getAnnotationsMap in interface NetworkEndpointOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;getAnnotationsOrDefault in interface NetworkEndpointOrBuilderpublic String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;getAnnotationsOrThrow in interface NetworkEndpointOrBuilderpublic boolean hasFqdn()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;hasFqdn in interface NetworkEndpointOrBuilderpublic String getFqdn()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;getFqdn in interface NetworkEndpointOrBuilderpublic com.google.protobuf.ByteString getFqdnBytes()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;getFqdnBytes in interface NetworkEndpointOrBuilderpublic boolean hasInstance()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;hasInstance in interface NetworkEndpointOrBuilderpublic String getInstance()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;getInstance in interface NetworkEndpointOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;getInstanceBytes in interface NetworkEndpointOrBuilderpublic boolean hasIpAddress()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;hasIpAddress in interface NetworkEndpointOrBuilderpublic String getIpAddress()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;getIpAddress in interface NetworkEndpointOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;getIpAddressBytes in interface NetworkEndpointOrBuilderpublic boolean hasPort()
Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
optional int32 port = 3446913;hasPort in interface NetworkEndpointOrBuilderpublic int getPort()
Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
optional int32 port = 3446913;getPort in interface NetworkEndpointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NetworkEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static NetworkEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NetworkEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NetworkEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NetworkEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NetworkEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NetworkEndpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NetworkEndpoint.Builder newBuilder()
public static NetworkEndpoint.Builder newBuilder(NetworkEndpoint prototype)
public NetworkEndpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NetworkEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NetworkEndpoint getDefaultInstance()
public static com.google.protobuf.Parser<NetworkEndpoint> parser()
public com.google.protobuf.Parser<NetworkEndpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NetworkEndpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.