Package com.google.cloud.vmwareengine.v1
Class NetworkPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmwareengine.v1.NetworkPolicy
-
- All Implemented Interfaces:
NetworkPolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class NetworkPolicy extends com.google.protobuf.GeneratedMessageV3 implements NetworkPolicyOrBuilder
Represents a network policy resource. Network policies are regional resources. You can use a network policy to enable or disable internet access and external IP access. Network policies are associated with a VMware Engine network, which might span across regions. For a given region, a network policy applies to all private clouds in the VMware Engine network associated with the policy.
Protobuf typegoogle.cloud.vmwareengine.v1.NetworkPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkPolicy.Builder
Represents a network policy resource.static class
NetworkPolicy.NetworkService
Represents a network service that is managed by a `NetworkPolicy` resource.static interface
NetworkPolicy.NetworkServiceOrBuilder
-
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 int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
EDGE_SERVICES_CIDR_FIELD_NUMBER
static int
EXTERNAL_IP_FIELD_NUMBER
static int
INTERNET_ACCESS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VMWARE_ENGINE_NETWORK_CANONICAL_FIELD_NUMBER
static int
VMWARE_ENGINE_NETWORK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static NetworkPolicy
getDefaultInstance()
NetworkPolicy
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEdgeServicesCidr()
Required.com.google.protobuf.ByteString
getEdgeServicesCidrBytes()
Required.NetworkPolicy.NetworkService
getExternalIp()
Network service that allows External IP addresses to be assigned to VMware workloads.NetworkPolicy.NetworkServiceOrBuilder
getExternalIpOrBuilder()
Network service that allows External IP addresses to be assigned to VMware workloads.NetworkPolicy.NetworkService
getInternetAccess()
Network service that allows VMware workloads to access the internet.NetworkPolicy.NetworkServiceOrBuilder
getInternetAccessOrBuilder()
Network service that allows VMware workloads to access the internet.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<NetworkPolicy>
getParserForType()
int
getSerializedSize()
String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getVmwareEngineNetwork()
Optional.com.google.protobuf.ByteString
getVmwareEngineNetworkBytes()
Optional.String
getVmwareEngineNetworkCanonical()
Output only.com.google.protobuf.ByteString
getVmwareEngineNetworkCanonicalBytes()
Output only.boolean
hasCreateTime()
Output only.boolean
hasExternalIp()
Network service that allows External IP addresses to be assigned to VMware workloads.int
hashCode()
boolean
hasInternetAccess()
Network service that allows VMware workloads to access the internet.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NetworkPolicy.Builder
newBuilder()
static NetworkPolicy.Builder
newBuilder(NetworkPolicy prototype)
NetworkPolicy.Builder
newBuilderForType()
protected NetworkPolicy.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NetworkPolicy
parseDelimitedFrom(InputStream input)
static NetworkPolicy
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkPolicy
parseFrom(byte[] data)
static NetworkPolicy
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkPolicy
parseFrom(com.google.protobuf.ByteString data)
static NetworkPolicy
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkPolicy
parseFrom(com.google.protobuf.CodedInputStream input)
static NetworkPolicy
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkPolicy
parseFrom(InputStream input)
static NetworkPolicy
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkPolicy
parseFrom(ByteBuffer data)
static NetworkPolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NetworkPolicy>
parser()
NetworkPolicy.Builder
toBuilder()
void
writeTo(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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNET_ACCESS_FIELD_NUMBER
public static final int INTERNET_ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNAL_IP_FIELD_NUMBER
public static final int EXTERNAL_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDGE_SERVICES_CIDR_FIELD_NUMBER
public static final int EDGE_SERVICES_CIDR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VMWARE_ENGINE_NETWORK_FIELD_NUMBER
public static final int VMWARE_ENGINE_NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VMWARE_ENGINE_NETWORK_CANONICAL_FIELD_NUMBER
public static final int VMWARE_ENGINE_NETWORK_CANONICAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceNetworkPolicyOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceNetworkPolicyOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceNetworkPolicyOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceNetworkPolicyOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceNetworkPolicyOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceNetworkPolicyOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceNetworkPolicyOrBuilder
-
hasInternetAccess
public boolean hasInternetAccess()
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;
- Specified by:
hasInternetAccess
in interfaceNetworkPolicyOrBuilder
- Returns:
- Whether the internetAccess field is set.
-
getInternetAccess
public NetworkPolicy.NetworkService getInternetAccess()
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;
- Specified by:
getInternetAccess
in interfaceNetworkPolicyOrBuilder
- Returns:
- The internetAccess.
-
getInternetAccessOrBuilder
public NetworkPolicy.NetworkServiceOrBuilder getInternetAccessOrBuilder()
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;
- Specified by:
getInternetAccessOrBuilder
in interfaceNetworkPolicyOrBuilder
-
hasExternalIp
public boolean hasExternalIp()
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;
- Specified by:
hasExternalIp
in interfaceNetworkPolicyOrBuilder
- Returns:
- Whether the externalIp field is set.
-
getExternalIp
public NetworkPolicy.NetworkService getExternalIp()
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;
- Specified by:
getExternalIp
in interfaceNetworkPolicyOrBuilder
- Returns:
- The externalIp.
-
getExternalIpOrBuilder
public NetworkPolicy.NetworkServiceOrBuilder getExternalIpOrBuilder()
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;
- Specified by:
getExternalIpOrBuilder
in interfaceNetworkPolicyOrBuilder
-
getEdgeServicesCidr
public String getEdgeServicesCidr()
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEdgeServicesCidr
in interfaceNetworkPolicyOrBuilder
- Returns:
- The edgeServicesCidr.
-
getEdgeServicesCidrBytes
public com.google.protobuf.ByteString getEdgeServicesCidrBytes()
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEdgeServicesCidrBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for edgeServicesCidr.
-
getUid
public String getUid()
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceNetworkPolicyOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for uid.
-
getVmwareEngineNetwork
public String getVmwareEngineNetwork()
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getVmwareEngineNetwork
in interfaceNetworkPolicyOrBuilder
- Returns:
- The vmwareEngineNetwork.
-
getVmwareEngineNetworkBytes
public com.google.protobuf.ByteString getVmwareEngineNetworkBytes()
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getVmwareEngineNetworkBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for vmwareEngineNetwork.
-
getDescription
public String getDescription()
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceNetworkPolicyOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for description.
-
getVmwareEngineNetworkCanonical
public String getVmwareEngineNetworkCanonical()
Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getVmwareEngineNetworkCanonical
in interfaceNetworkPolicyOrBuilder
- Returns:
- The vmwareEngineNetworkCanonical.
-
getVmwareEngineNetworkCanonicalBytes
public com.google.protobuf.ByteString getVmwareEngineNetworkCanonicalBytes()
Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getVmwareEngineNetworkCanonicalBytes
in interfaceNetworkPolicyOrBuilder
- Returns:
- The bytes for vmwareEngineNetworkCanonical.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NetworkPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NetworkPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NetworkPolicy.Builder newBuilder()
-
newBuilder
public static NetworkPolicy.Builder newBuilder(NetworkPolicy prototype)
-
toBuilder
public NetworkPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NetworkPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NetworkPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<NetworkPolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-