Package com.google.cloud.compute.v1
Class NetworkPeering
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.NetworkPeering
-
- All Implemented Interfaces:
NetworkPeeringOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NetworkPeering extends com.google.protobuf.GeneratedMessageV3 implements NetworkPeeringOrBuilder
A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.
Protobuf typegoogle.cloud.compute.v1.NetworkPeering- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkPeering.BuilderA network peering attached to a network resource.static classNetworkPeering.StackTypeWhich IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.static classNetworkPeering.State[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.-
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 intAUTO_CREATE_ROUTES_FIELD_NUMBERstatic intEXCHANGE_SUBNET_ROUTES_FIELD_NUMBERstatic intEXPORT_CUSTOM_ROUTES_FIELD_NUMBERstatic intEXPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBERstatic intIMPORT_CUSTOM_ROUTES_FIELD_NUMBERstatic intIMPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intPEER_MTU_FIELD_NUMBERstatic intSTACK_TYPE_FIELD_NUMBERstatic intSTATE_DETAILS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAutoCreateRoutes()This field will be deprecated soon.static NetworkPeeringgetDefaultInstance()NetworkPeeringgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetExchangeSubnetRoutes()Indicates whether full mesh connectivity is created and managed automatically between peered networks.booleangetExportCustomRoutes()Whether to export the custom routes to peer network.booleangetExportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are exported.booleangetImportCustomRoutes()Whether to import the custom routes from peer network.booleangetImportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are imported.StringgetName()Name of this peering.com.google.protobuf.ByteStringgetNameBytes()Name of this peering.StringgetNetwork()The URL of the peer network.com.google.protobuf.ByteStringgetNetworkBytes()The URL of the peer network.com.google.protobuf.Parser<NetworkPeering>getParserForType()intgetPeerMtu()Maximum Transmission Unit in bytes.intgetSerializedSize()StringgetStackType()Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.com.google.protobuf.ByteStringgetStackTypeBytes()Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.StringgetState()[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.com.google.protobuf.ByteStringgetStateBytes()[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.StringgetStateDetails()[Output Only] Details about the current state of the peering.com.google.protobuf.ByteStringgetStateDetailsBytes()[Output Only] Details about the current state of the peering.booleanhasAutoCreateRoutes()This field will be deprecated soon.booleanhasExchangeSubnetRoutes()Indicates whether full mesh connectivity is created and managed automatically between peered networks.booleanhasExportCustomRoutes()Whether to export the custom routes to peer network.booleanhasExportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are exported.inthashCode()booleanhasImportCustomRoutes()Whether to import the custom routes from peer network.booleanhasImportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are imported.booleanhasName()Name of this peering.booleanhasNetwork()The URL of the peer network.booleanhasPeerMtu()Maximum Transmission Unit in bytes.booleanhasStackType()Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.booleanhasState()[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.booleanhasStateDetails()[Output Only] Details about the current state of the peering.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NetworkPeering.BuildernewBuilder()static NetworkPeering.BuildernewBuilder(NetworkPeering prototype)NetworkPeering.BuildernewBuilderForType()protected NetworkPeering.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkPeeringparseDelimitedFrom(InputStream input)static NetworkPeeringparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkPeeringparseFrom(byte[] data)static NetworkPeeringparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkPeeringparseFrom(com.google.protobuf.ByteString data)static NetworkPeeringparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkPeeringparseFrom(com.google.protobuf.CodedInputStream input)static NetworkPeeringparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkPeeringparseFrom(InputStream input)static NetworkPeeringparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkPeeringparseFrom(ByteBuffer data)static NetworkPeeringparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NetworkPeering>parser()NetworkPeering.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
-
AUTO_CREATE_ROUTES_FIELD_NUMBER
public static final int AUTO_CREATE_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCHANGE_SUBNET_ROUTES_FIELD_NUMBER
public static final int EXCHANGE_SUBNET_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPORT_CUSTOM_ROUTES_FIELD_NUMBER
public static final int EXPORT_CUSTOM_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBER
public static final int EXPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_CUSTOM_ROUTES_FIELD_NUMBER
public static final int IMPORT_CUSTOM_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBER
public static final int IMPORT_SUBNET_ROUTES_WITH_PUBLIC_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_MTU_FIELD_NUMBER
public static final int PEER_MTU_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACK_TYPE_FIELD_NUMBER
public static final int STACK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_DETAILS_FIELD_NUMBER
public static final int STATE_DETAILS_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
-
hasAutoCreateRoutes
public boolean hasAutoCreateRoutes()
This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
optional bool auto_create_routes = 57454941;- Specified by:
hasAutoCreateRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the autoCreateRoutes field is set.
-
getAutoCreateRoutes
public boolean getAutoCreateRoutes()
This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
optional bool auto_create_routes = 57454941;- Specified by:
getAutoCreateRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The autoCreateRoutes.
-
hasExchangeSubnetRoutes
public boolean hasExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
optional bool exchange_subnet_routes = 26322256;- Specified by:
hasExchangeSubnetRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exchangeSubnetRoutes field is set.
-
getExchangeSubnetRoutes
public boolean getExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
optional bool exchange_subnet_routes = 26322256;- Specified by:
getExchangeSubnetRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The exchangeSubnetRoutes.
-
hasExportCustomRoutes
public boolean hasExportCustomRoutes()
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;- Specified by:
hasExportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exportCustomRoutes field is set.
-
getExportCustomRoutes
public boolean getExportCustomRoutes()
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;- Specified by:
getExportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The exportCustomRoutes.
-
hasExportSubnetRoutesWithPublicIp
public boolean hasExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;- Specified by:
hasExportSubnetRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exportSubnetRoutesWithPublicIp field is set.
-
getExportSubnetRoutesWithPublicIp
public boolean getExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;- Specified by:
getExportSubnetRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- The exportSubnetRoutesWithPublicIp.
-
hasImportCustomRoutes
public boolean hasImportCustomRoutes()
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;- Specified by:
hasImportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the importCustomRoutes field is set.
-
getImportCustomRoutes
public boolean getImportCustomRoutes()
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;- Specified by:
getImportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The importCustomRoutes.
-
hasImportSubnetRoutesWithPublicIp
public boolean hasImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;- Specified by:
hasImportSubnetRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the importSubnetRoutesWithPublicIp field is set.
-
getImportSubnetRoutesWithPublicIp
public boolean getImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;- Specified by:
getImportSubnetRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- The importSubnetRoutesWithPublicIp.
-
hasName
public boolean hasName()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceNetworkPeeringOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceNetworkPeeringOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for name.
-
hasNetwork
public boolean hasNetwork()
The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
optional string network = 232872494;- Specified by:
getNetworkin interfaceNetworkPeeringOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for network.
-
hasPeerMtu
public boolean hasPeerMtu()
Maximum Transmission Unit in bytes.
optional int32 peer_mtu = 69584721;- Specified by:
hasPeerMtuin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the peerMtu field is set.
-
getPeerMtu
public int getPeerMtu()
Maximum Transmission Unit in bytes.
optional int32 peer_mtu = 69584721;- Specified by:
getPeerMtuin interfaceNetworkPeeringOrBuilder- Returns:
- The peerMtu.
-
hasStackType
public boolean hasStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
hasStackTypein interfaceNetworkPeeringOrBuilder- Returns:
- Whether the stackType field is set.
-
getStackType
public String getStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
getStackTypein interfaceNetworkPeeringOrBuilder- Returns:
- The stackType.
-
getStackTypeBytes
public com.google.protobuf.ByteString getStackTypeBytes()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
getStackTypeBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for stackType.
-
hasState
public boolean hasState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceNetworkPeeringOrBuilder- Returns:
- Whether the state field is set.
-
getState
public String getState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceNetworkPeeringOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for state.
-
hasStateDetails
public boolean hasStateDetails()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;- Specified by:
hasStateDetailsin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the stateDetails field is set.
-
getStateDetails
public String getStateDetails()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;- Specified by:
getStateDetailsin interfaceNetworkPeeringOrBuilder- Returns:
- The stateDetails.
-
getStateDetailsBytes
public com.google.protobuf.ByteString getStateDetailsBytes()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;- Specified by:
getStateDetailsBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for stateDetails.
-
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 NetworkPeering parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPeering parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPeering parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkPeering parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkPeering parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPeering parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPeering parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NetworkPeering.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NetworkPeering.Builder newBuilder()
-
newBuilder
public static NetworkPeering.Builder newBuilder(NetworkPeering prototype)
-
toBuilder
public NetworkPeering.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkPeering.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NetworkPeering getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NetworkPeering> parser()
-
getParserForType
public com.google.protobuf.Parser<NetworkPeering> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkPeering getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-