- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.0.6
public static final class UpdatePolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdatePolicyRequest.Builder> implements UpdatePolicyRequestOrBuilder
Request message for [BinauthzManagementService.UpdatePolicy][].
Protobuf type google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdatePolicyRequest.BuilderImplements
UpdatePolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
build()
public UpdatePolicyRequest build()
Type | Description |
UpdatePolicyRequest |
buildPartial()
public UpdatePolicyRequest buildPartial()
Type | Description |
UpdatePolicyRequest |
clear()
public UpdatePolicyRequest.Builder clear()
Type | Description |
UpdatePolicyRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdatePolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdatePolicyRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdatePolicyRequest.Builder |
clearPolicy()
public UpdatePolicyRequest.Builder clearPolicy()
Required. A new or updated policy value. The service will
overwrite the 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];
Type | Description |
UpdatePolicyRequest.Builder |
clone()
public UpdatePolicyRequest.Builder clone()
Type | Description |
UpdatePolicyRequest.Builder |
getDefaultInstanceForType()
public UpdatePolicyRequest getDefaultInstanceForType()
Type | Description |
UpdatePolicyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPolicy()
public Policy getPolicy()
Required. A new or updated policy value. The service will
overwrite the 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];
Type | Description |
Policy | The policy. |
getPolicyBuilder()
public Policy.Builder getPolicyBuilder()
Required. A new or updated policy value. The service will
overwrite the 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];
Type | Description |
Policy.Builder |
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
Required. A new or updated policy value. The service will
overwrite the 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];
Type | Description |
PolicyOrBuilder |
hasPolicy()
public boolean hasPolicy()
Required. A new or updated policy value. The service will
overwrite the 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];
Type | Description |
boolean | Whether the policy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UpdatePolicyRequest other)
public UpdatePolicyRequest.Builder mergeFrom(UpdatePolicyRequest other)
Name | Description |
other | UpdatePolicyRequest |
Type | Description |
UpdatePolicyRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdatePolicyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdatePolicyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdatePolicyRequest.Builder |
mergePolicy(Policy value)
public UpdatePolicyRequest.Builder mergePolicy(Policy value)
Required. A new or updated policy value. The service will
overwrite the 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];
Name | Description |
value | Policy |
Type | Description |
UpdatePolicyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdatePolicyRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
setPolicy(Policy value)
public UpdatePolicyRequest.Builder setPolicy(Policy value)
Required. A new or updated policy value. The service will
overwrite the 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];
Name | Description |
value | Policy |
Type | Description |
UpdatePolicyRequest.Builder |
setPolicy(Policy.Builder builderForValue)
public UpdatePolicyRequest.Builder setPolicy(Policy.Builder builderForValue)
Required. A new or updated policy value. The service will
overwrite the 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];
Name | Description |
builderForValue | Policy.Builder |
Type | Description |
UpdatePolicyRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdatePolicyRequest.Builder |