Interface UpdatePolicyRequestOrBuilder

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

@Generated public interface 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.v1beta1.Policy] value. The service will
       overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
       the request URL, in the format `projects/*/policy`.
       
      .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the policy field is set.
    • getPolicy

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

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