Class CreateFirebaseLinkRequest.Builder (0.24.0)

public static final class CreateFirebaseLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateFirebaseLinkRequest.Builder> implements CreateFirebaseLinkRequestOrBuilder

Request message for CreateFirebaseLink RPC

Protobuf type google.analytics.admin.v1beta.CreateFirebaseLinkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateFirebaseLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

build()

public CreateFirebaseLinkRequest build()
Returns
TypeDescription
CreateFirebaseLinkRequest

buildPartial()

public CreateFirebaseLinkRequest buildPartial()
Returns
TypeDescription
CreateFirebaseLinkRequest

clear()

public CreateFirebaseLinkRequest.Builder clear()
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateFirebaseLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides
public CreateFirebaseLinkRequest.Builder clearFirebaseLink()

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFirebaseLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

clearParent()

public CreateFirebaseLinkRequest.Builder clearParent()

Required. Format: properties/{property_id} Example: properties/1234

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

Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

This builder for chaining.

clone()

public CreateFirebaseLinkRequest.Builder clone()
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateFirebaseLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFirebaseLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public FirebaseLink getFirebaseLink()

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FirebaseLink

The firebaseLink.

getFirebaseLinkBuilder()

public FirebaseLink.Builder getFirebaseLinkBuilder()

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FirebaseLink.Builder

getFirebaseLinkOrBuilder()

public FirebaseLinkOrBuilder getFirebaseLinkOrBuilder()

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FirebaseLinkOrBuilder

getParent()

public String getParent()

Required. Format: properties/{property_id} Example: properties/1234

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Format: properties/{property_id} Example: properties/1234

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

Returns
TypeDescription
ByteString

The bytes for parent.

public boolean hasFirebaseLink()

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the firebaseLink field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public CreateFirebaseLinkRequest.Builder mergeFirebaseLink(FirebaseLink value)

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFirebaseLink
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

mergeFrom(CreateFirebaseLinkRequest other)

public CreateFirebaseLinkRequest.Builder mergeFrom(CreateFirebaseLinkRequest other)
Parameter
NameDescription
otherCreateFirebaseLinkRequest
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateFirebaseLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateFirebaseLinkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFirebaseLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFirebaseLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides
public CreateFirebaseLinkRequest.Builder setFirebaseLink(FirebaseLink value)

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFirebaseLink
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
public CreateFirebaseLinkRequest.Builder setFirebaseLink(FirebaseLink.Builder builderForValue)

Required. The Firebase link to create.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueFirebaseLink.Builder
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

setParent(String value)

public CreateFirebaseLinkRequest.Builder setParent(String value)

Required. Format: properties/{property_id} Example: properties/1234

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFirebaseLinkRequest.Builder setParentBytes(ByteString value)

Required. Format: properties/{property_id} Example: properties/1234

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateFirebaseLinkRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateFirebaseLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateFirebaseLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateFirebaseLinkRequest.Builder
Overrides