public final class PatchServiceAccountRequest extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PatchServiceAccountRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PatchServiceAccountRequest.Builder newBuilder()
newBuilder(PatchServiceAccountRequest prototype)
public static PatchServiceAccountRequest.Builder newBuilder(PatchServiceAccountRequest prototype)
public static PatchServiceAccountRequest parseDelimitedFrom(InputStream input)
public static PatchServiceAccountRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PatchServiceAccountRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchServiceAccountRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PatchServiceAccountRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchServiceAccountRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchServiceAccountRequest parseFrom(CodedInputStream input)
public static PatchServiceAccountRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PatchServiceAccountRequest parseFrom(InputStream input)
public static PatchServiceAccountRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PatchServiceAccountRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchServiceAccountRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PatchServiceAccountRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PatchServiceAccountRequest getDefaultInstanceForType()
getParserForType()
public Parser<PatchServiceAccountRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getServiceAccount()
public ServiceAccount getServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
getServiceAccountOrBuilder()
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
.google.iam.admin.v1.ServiceAccount service_account = 1;
getUpdateMask()
public FieldMask getUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
.google.protobuf.FieldMask update_mask = 2;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PatchServiceAccountRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchServiceAccountRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PatchServiceAccountRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides