Package com.google.container.v1
Interface SetNetworkPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetNetworkPolicyRequest
,SetNetworkPolicyRequest.Builder
public interface SetNetworkPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getClusterId()
Deprecated.google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated.com.google.protobuf.ByteString
getClusterIdBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated.String
getName()
The name (project, location, cluster name) of the cluster to set networking policy.com.google.protobuf.ByteString
getNameBytes()
The name (project, location, cluster name) of the cluster to set networking policy.NetworkPolicy
getNetworkPolicy()
Required.NetworkPolicyOrBuilder
getNetworkPolicyOrBuilder()
Required.String
getProjectId()
Deprecated.google.container.v1.SetNetworkPolicyRequest.project_id is deprecated.com.google.protobuf.ByteString
getProjectIdBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.project_id is deprecated.String
getZone()
Deprecated.google.container.v1.SetNetworkPolicyRequest.zone is deprecated.com.google.protobuf.ByteString
getZoneBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.zone is deprecated.boolean
hasNetworkPolicy()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
@Deprecated String getProjectId()
Deprecated.google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4180Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
string project_id = 1 [deprecated = true];
- Returns:
- The projectId.
-
getProjectIdBytes
@Deprecated com.google.protobuf.ByteString getProjectIdBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4180Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
string project_id = 1 [deprecated = true];
- Returns:
- The bytes for projectId.
-
getZone
@Deprecated String getZone()
Deprecated.google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4186Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
string zone = 2 [deprecated = true];
- Returns:
- The zone.
-
getZoneBytes
@Deprecated com.google.protobuf.ByteString getZoneBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4186Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
string zone = 2 [deprecated = true];
- Returns:
- The bytes for zone.
-
getClusterId
@Deprecated String getClusterId()
Deprecated.google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4190Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];
- Returns:
- The clusterId.
-
getClusterIdBytes
@Deprecated com.google.protobuf.ByteString getClusterIdBytes()
Deprecated.google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4190Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];
- Returns:
- The bytes for clusterId.
-
hasNetworkPolicy
boolean hasNetworkPolicy()
Required. Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the networkPolicy field is set.
-
getNetworkPolicy
NetworkPolicy getNetworkPolicy()
Required. Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The networkPolicy.
-
getNetworkPolicyOrBuilder
NetworkPolicyOrBuilder getNetworkPolicyOrBuilder()
Required. Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED];
-
getName
String getName()
The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
- Returns:
- The bytes for name.
-
-