public static final class PatchServiceAccountRequest.Builder extends GeneratedMessageV3.Builder<PatchServiceAccountRequest.Builder> implements PatchServiceAccountRequestOrBuilder
The service account patch request.
You can patch only the display_name
and description
fields. You must use
the update_mask
field to specify which of these fields you want to patch.
Only the fields specified in the request are guaranteed to be returned in
the response. Other fields may be empty in the response.
Protobuf type google.iam.admin.v1.PatchServiceAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchServiceAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PatchServiceAccountRequest build()
Returns
buildPartial()
public PatchServiceAccountRequest buildPartial()
Returns
clear()
public PatchServiceAccountRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchServiceAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchServiceAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceAccount()
public PatchServiceAccountRequest.Builder clearServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns
clearUpdateMask()
public PatchServiceAccountRequest.Builder clearUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public PatchServiceAccountRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PatchServiceAccountRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getServiceAccount()
public ServiceAccount getServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns
getServiceAccountBuilder()
public ServiceAccount.Builder getServiceAccountBuilder()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns
getServiceAccountOrBuilder()
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns
getUpdateMask()
public FieldMask getUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
.google.protobuf.FieldMask update_mask = 2;
Returns
hasServiceAccount()
public boolean hasServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns
Type | Description |
boolean | Whether the serviceAccount field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PatchServiceAccountRequest other)
public PatchServiceAccountRequest.Builder mergeFrom(PatchServiceAccountRequest other)
Parameter
Returns
public PatchServiceAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PatchServiceAccountRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeServiceAccount(ServiceAccount value)
public PatchServiceAccountRequest.Builder mergeServiceAccount(ServiceAccount value)
.google.iam.admin.v1.ServiceAccount service_account = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchServiceAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public PatchServiceAccountRequest.Builder mergeUpdateMask(FieldMask value)
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PatchServiceAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchServiceAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceAccount(ServiceAccount value)
public PatchServiceAccountRequest.Builder setServiceAccount(ServiceAccount value)
.google.iam.admin.v1.ServiceAccount service_account = 1;
Parameter
Returns
setServiceAccount(ServiceAccount.Builder builderForValue)
public PatchServiceAccountRequest.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
.google.iam.admin.v1.ServiceAccount service_account = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchServiceAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public PatchServiceAccountRequest.Builder setUpdateMask(FieldMask value)
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public PatchServiceAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns