public static final class NetworkPolicy.NetworkService extends GeneratedMessageV3 implements NetworkPolicy.NetworkServiceOrBuilder
Represents a network service that is managed by a NetworkPolicy
resource.
A network service provides a way to control an aspect of external access to
VMware workloads. For example, whether the VMware workloads in the
private clouds governed by a network policy can access or be accessed from
the internet.
Protobuf type google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NetworkPolicy.NetworkService getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NetworkPolicy.NetworkService.Builder newBuilder()
newBuilder(NetworkPolicy.NetworkService prototype)
public static NetworkPolicy.NetworkService.Builder newBuilder(NetworkPolicy.NetworkService prototype)
public static NetworkPolicy.NetworkService parseDelimitedFrom(InputStream input)
public static NetworkPolicy.NetworkService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NetworkPolicy.NetworkService parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkPolicy.NetworkService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NetworkPolicy.NetworkService parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkPolicy.NetworkService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkPolicy.NetworkService parseFrom(CodedInputStream input)
public static NetworkPolicy.NetworkService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkPolicy.NetworkService parseFrom(InputStream input)
public static NetworkPolicy.NetworkService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NetworkPolicy.NetworkService parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkPolicy.NetworkService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NetworkPolicy.NetworkService> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NetworkPolicy.NetworkService getDefaultInstanceForType()
getEnabled()
public boolean getEnabled()
True if the service is enabled; false otherwise.
bool enabled = 1;
Returns |
Type |
Description |
boolean |
The enabled.
|
getParserForType()
public Parser<NetworkPolicy.NetworkService> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public NetworkPolicy.NetworkService.State getState()
Output only. State of the service. New values may be added to this enum
when appropriate.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the service. New values may be added to this enum
when appropriate.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NetworkPolicy.NetworkService.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkPolicy.NetworkService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public NetworkPolicy.NetworkService.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides