public final class CreateAnalyticsAccountLinkRequest extends GeneratedMessageV3 implements CreateAnalyticsAccountLinkRequestOrBuilder
Request message for CreateAnalyticsAccountLink RPC.
Protobuf type google.marketingplatform.admin.v1alpha.CreateAnalyticsAccountLinkRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateAnalyticsAccountLinkRequestImplements
CreateAnalyticsAccountLinkRequestOrBuilderStatic Fields
ANALYTICS_ACCOUNT_LINK_FIELD_NUMBER
public static final int ANALYTICS_ACCOUNT_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateAnalyticsAccountLinkRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CreateAnalyticsAccountLinkRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest.Builder |
newBuilder(CreateAnalyticsAccountLinkRequest prototype)
public static CreateAnalyticsAccountLinkRequest.Builder newBuilder(CreateAnalyticsAccountLinkRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CreateAnalyticsAccountLinkRequest |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateAnalyticsAccountLinkRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateAnalyticsAccountLinkRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateAnalyticsAccountLinkRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateAnalyticsAccountLinkRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateAnalyticsAccountLinkRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateAnalyticsAccountLinkRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateAnalyticsAccountLinkRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateAnalyticsAccountLinkRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<CreateAnalyticsAccountLinkRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAnalyticsAccountLink()
public AnalyticsAccountLink getAnalyticsAccountLink()
Required. The Analytics account link to create.
.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AnalyticsAccountLink |
The analyticsAccountLink. |
getAnalyticsAccountLinkOrBuilder()
public AnalyticsAccountLinkOrBuilder getAnalyticsAccountLinkOrBuilder()
Required. The Analytics account link to create.
.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AnalyticsAccountLinkOrBuilder |
getDefaultInstanceForType()
public CreateAnalyticsAccountLinkRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest |
getParent()
public String getParent()
Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getParserForType()
public Parser<CreateAnalyticsAccountLinkRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CreateAnalyticsAccountLinkRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasAnalyticsAccountLink()
public boolean hasAnalyticsAccountLink()
Required. The Analytics account link to create.
.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink analytics_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the analyticsAccountLink field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CreateAnalyticsAccountLinkRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateAnalyticsAccountLinkRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CreateAnalyticsAccountLinkRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CreateAnalyticsAccountLinkRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |