Class CreateGoogleAdsLinkRequest (0.70.0)

publicfinalclassCreateGoogleAdsLinkRequestextendsGeneratedMessageV3implementsCreateGoogleAdsLinkRequestOrBuilder

Request message for CreateGoogleAdsLink RPC

Protobuf type google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest

Static Fields

publicstaticfinalintGOOGLE_ADS_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticCreateGoogleAdsLinkRequestgetDefaultInstance()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticCreateGoogleAdsLinkRequest.BuildernewBuilder()
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

newBuilder(CreateGoogleAdsLinkRequest prototype)

publicstaticCreateGoogleAdsLinkRequest.BuildernewBuilder(CreateGoogleAdsLinkRequestprototype)
Parameter
NameDescription
prototypeCreateGoogleAdsLinkRequest
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticCreateGoogleAdsLinkRequestparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticCreateGoogleAdsLinkRequestparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCreateGoogleAdsLinkRequestparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCreateGoogleAdsLinkRequestparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticCreateGoogleAdsLinkRequestparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticCreateGoogleAdsLinkRequestparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGoogleAdsLinkRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<CreateGoogleAdsLinkRequest>parser()
Returns
TypeDescription
Parser<CreateGoogleAdsLinkRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicCreateGoogleAdsLinkRequestgetDefaultInstanceForType()
Returns
TypeDescription
CreateGoogleAdsLinkRequest
publicGoogleAdsLinkgetGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkOrBuilder()

publicGoogleAdsLinkOrBuildergetGoogleAdsLinkOrBuilder()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GoogleAdsLinkOrBuilder

getParent()

publicStringgetParent()

Required. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

publicParser<CreateGoogleAdsLinkRequest>getParserForType()
Returns
TypeDescription
Parser<CreateGoogleAdsLinkRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides
publicbooleanhasGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the googleAdsLink field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicCreateGoogleAdsLinkRequest.BuildernewBuilderForType()
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCreateGoogleAdsLinkRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicCreateGoogleAdsLinkRequest.BuildertoBuilder()
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException