- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class NetworkPolicy.NetworkService.Builder extends GeneratedMessageV3.Builder<NetworkPolicy.NetworkService.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkPolicy.NetworkService.BuilderImplements
NetworkPolicy.NetworkServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkPolicy.NetworkService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
build()
public NetworkPolicy.NetworkService build()
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService |
buildPartial()
public NetworkPolicy.NetworkService buildPartial()
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService |
clear()
public NetworkPolicy.NetworkService.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
clearEnabled()
public NetworkPolicy.NetworkService.Builder clearEnabled()
True if the service is enabled; false otherwise.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkPolicy.NetworkService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkPolicy.NetworkService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
clearState()
public NetworkPolicy.NetworkService.Builder clearState()
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 |
NetworkPolicy.NetworkService.Builder |
This builder for chaining. |
clone()
public NetworkPolicy.NetworkService.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
getDefaultInstanceForType()
public NetworkPolicy.NetworkService getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnabled()
public boolean getEnabled()
True if the service is enabled; false otherwise.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
boolean |
The enabled. |
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];
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.State |
The state. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkPolicy.NetworkService other)
public NetworkPolicy.NetworkService.Builder mergeFrom(NetworkPolicy.NetworkService other)
Parameter | |
---|---|
Name | Description |
other |
NetworkPolicy.NetworkService |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkPolicy.NetworkService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkPolicy.NetworkService.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkPolicy.NetworkService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
setEnabled(boolean value)
public NetworkPolicy.NetworkService.Builder setEnabled(boolean value)
True if the service is enabled; false otherwise.
bool enabled = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The enabled to set. |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkPolicy.NetworkService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkPolicy.NetworkService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
setState(NetworkPolicy.NetworkService.State value)
public NetworkPolicy.NetworkService.Builder setState(NetworkPolicy.NetworkService.State value)
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];
Parameter | |
---|---|
Name | Description |
value |
NetworkPolicy.NetworkService.State The state to set. |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
This builder for chaining. |
setStateValue(int value)
public NetworkPolicy.NetworkService.Builder setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkPolicy.NetworkService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkPolicy.NetworkService.Builder |