public final class DeleteContactRequest extends GeneratedMessageV3 implements DeleteContactRequestOrBuilder
Request message for the DeleteContact method.
Protobuf type google.cloud.essentialcontacts.v1.DeleteContactRequest
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static DeleteContactRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeleteContactRequest.Builder newBuilder()
Returns
public static DeleteContactRequest.Builder newBuilder(DeleteContactRequest prototype)
Parameter
Returns
public static DeleteContactRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteContactRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteContactRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteContactRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteContactRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteContactRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteContactRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteContactRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteContactRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteContactRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteContactRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteContactRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteContactRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DeleteContactRequest getDefaultInstanceForType()
Returns
Required. The name of the contact to delete.
Format: organizations/{organization_id}/contacts/{contact_id},
folders/{folder_id}/contacts/{contact_id} or
projects/{project_id}/contacts/{contact_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the contact to delete.
Format: organizations/{organization_id}/contacts/{contact_id},
folders/{folder_id}/contacts/{contact_id} or
projects/{project_id}/contacts/{contact_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<DeleteContactRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteContactRequest.Builder newBuilderForType()
Returns
protected DeleteContactRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeleteContactRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions