- 1.52.0 (latest)
- 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 Service.UpdatePolicyRequest.Builder extends GeneratedMessageV3.Builder<Service.UpdatePolicyRequest.Builder> implements Service.UpdatePolicyRequestOrBuilder
Request message for [BinauthzManagementService.UpdatePolicy][].
Protobuf type google.cloud.binaryauthorization.v1.UpdatePolicyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.UpdatePolicyRequest.BuilderImplements
Service.UpdatePolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.UpdatePolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Service.UpdatePolicyRequest.Builder |
build()
public Service.UpdatePolicyRequest build()
Type | Description |
Service.UpdatePolicyRequest |
buildPartial()
public Service.UpdatePolicyRequest buildPartial()
Type | Description |
Service.UpdatePolicyRequest |
clear()
public Service.UpdatePolicyRequest.Builder clear()
Type | Description |
Service.UpdatePolicyRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public Service.UpdatePolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Service.UpdatePolicyRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.UpdatePolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Service.UpdatePolicyRequest.Builder |
clearPolicy()
public Service.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Service.UpdatePolicyRequest.Builder |
clone()
public Service.UpdatePolicyRequest.Builder clone()
Type | Description |
Service.UpdatePolicyRequest.Builder |
getDefaultInstanceForType()
public Service.UpdatePolicyRequest getDefaultInstanceForType()
Type | Description |
Service.UpdatePolicyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPolicy()
public Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Resources.Policy | The policy. |
getPolicyBuilder()
public Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Resources.Policy.Builder |
getPolicyOrBuilder()
public Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Resources.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.v1.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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.UpdatePolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service.UpdatePolicyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Service.UpdatePolicyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Service.UpdatePolicyRequest.Builder |
mergeFrom(Service.UpdatePolicyRequest other)
public Service.UpdatePolicyRequest.Builder mergeFrom(Service.UpdatePolicyRequest other)
Name | Description |
other | Service.UpdatePolicyRequest |
Type | Description |
Service.UpdatePolicyRequest.Builder |
mergePolicy(Resources.Policy value)
public Service.UpdatePolicyRequest.Builder mergePolicy(Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Resources.Policy |
Type | Description |
Service.UpdatePolicyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.UpdatePolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Service.UpdatePolicyRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Service.UpdatePolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Service.UpdatePolicyRequest.Builder |
setPolicy(Resources.Policy value)
public Service.UpdatePolicyRequest.Builder setPolicy(Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Resources.Policy |
Type | Description |
Service.UpdatePolicyRequest.Builder |
setPolicy(Resources.Policy.Builder builderForValue)
public Service.UpdatePolicyRequest.Builder setPolicy(Resources.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.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Resources.Policy.Builder |
Type | Description |
Service.UpdatePolicyRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Service.UpdatePolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Service.UpdatePolicyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.UpdatePolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Service.UpdatePolicyRequest.Builder |