Class UpdateAuthorizationPolicyRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAuthorizationPolicyRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAuthorizationPolicyRequest.Builder>
      • getDefaultInstanceForType

        public UpdateAuthorizationPolicyRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateAuthorizationPolicyRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateAuthorizationPolicyRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAuthorizationPolicyRequest.Builder>
      • hasUpdateMask

        public boolean hasUpdateMask()
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasUpdateMask in interface UpdateAuthorizationPolicyRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMask in interface UpdateAuthorizationPolicyRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateAuthorizationPolicyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      • setUpdateMask

        public UpdateAuthorizationPolicyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      • mergeUpdateMask

        public UpdateAuthorizationPolicyRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      • clearUpdateMask

        public UpdateAuthorizationPolicyRequest.Builder clearUpdateMask()
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Optional. Field mask is used to specify the fields to be overwritten in the
         AuthorizationPolicy resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then all fields will be overwritten.
         
        .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateAuthorizationPolicyRequestOrBuilder
      • hasAuthorizationPolicy

        public boolean hasAuthorizationPolicy()
         Required. Updated AuthorizationPolicy resource.
         
        .google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAuthorizationPolicy in interface UpdateAuthorizationPolicyRequestOrBuilder
        Returns:
        Whether the authorizationPolicy field is set.
      • setAuthorizationPolicy

        public UpdateAuthorizationPolicyRequest.Builder setAuthorizationPolicy​(AuthorizationPolicy value)
         Required. Updated AuthorizationPolicy resource.
         
        .google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeAuthorizationPolicy

        public UpdateAuthorizationPolicyRequest.Builder mergeAuthorizationPolicy​(AuthorizationPolicy value)
         Required. Updated AuthorizationPolicy resource.
         
        .google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearAuthorizationPolicy

        public UpdateAuthorizationPolicyRequest.Builder clearAuthorizationPolicy()
         Required. Updated AuthorizationPolicy resource.
         
        .google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAuthorizationPolicyBuilder

        public AuthorizationPolicy.Builder getAuthorizationPolicyBuilder()
         Required. Updated AuthorizationPolicy resource.
         
        .google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];