Interface Service.UpdatePolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Service.UpdatePolicyRequest, Service.UpdatePolicyRequest.Builder
Enclosing class:
Service

public static interface Service.UpdatePolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPolicy

      boolean hasPolicy()
       Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
       overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
       the request URL, in the format `projects/*/policy`.
       
      .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the policy field is set.
    • getPolicy

      Resources.Policy getPolicy()
       Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
       overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
       the request URL, in the format `projects/*/policy`.
       
      .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The policy.
    • getPolicyOrBuilder

      Resources.PolicyOrBuilder getPolicyOrBuilder()
       Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
       overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
       the request URL, in the format `projects/*/policy`.
       
      .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];