public final class GetContactRequest extends GeneratedMessageV3 implements GetContactRequestOrBuilder
Request message for the GetContact method.
Protobuf type google.cloud.essentialcontacts.v1.GetContactRequest
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static GetContactRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static GetContactRequest.Builder newBuilder()
Returns
public static GetContactRequest.Builder newBuilder(GetContactRequest prototype)
Parameter
Returns
public static GetContactRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetContactRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetContactRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static GetContactRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetContactRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static GetContactRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetContactRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetContactRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetContactRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetContactRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetContactRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static GetContactRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<GetContactRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public GetContactRequest getDefaultInstanceForType()
Returns
Required. The name of the contact to retrieve.
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 retrieve.
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<GetContactRequest> 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 GetContactRequest.Builder newBuilderForType()
Returns
protected GetContactRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public GetContactRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions