Class FetchConnectedGa4PropertyResponse.Builder (0.28.0)

public static final class FetchConnectedGa4PropertyResponse.Builder extends GeneratedMessageV3.Builder<FetchConnectedGa4PropertyResponse.Builder> implements FetchConnectedGa4PropertyResponseOrBuilder

Response for looking up GA4 property connected to a UA property.

Protobuf type google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchConnectedGa4PropertyResponse build()
Returns
TypeDescription
FetchConnectedGa4PropertyResponse

buildPartial()

public FetchConnectedGa4PropertyResponse buildPartial()
Returns
TypeDescription
FetchConnectedGa4PropertyResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperty()

public FetchConnectedGa4PropertyResponse.Builder clearProperty()

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

string property = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
FetchConnectedGa4PropertyResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchConnectedGa4PropertyResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchConnectedGa4PropertyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProperty()

public String getProperty()

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

string property = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

string property = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for property.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchConnectedGa4PropertyResponse other)

public FetchConnectedGa4PropertyResponse.Builder mergeFrom(FetchConnectedGa4PropertyResponse other)
Parameter
NameDescription
otherFetchConnectedGa4PropertyResponse
Returns
TypeDescription
FetchConnectedGa4PropertyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProperty(String value)

public FetchConnectedGa4PropertyResponse.Builder setProperty(String value)

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

string property = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The property to set.

Returns
TypeDescription
FetchConnectedGa4PropertyResponse.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public FetchConnectedGa4PropertyResponse.Builder setPropertyBytes(ByteString value)

The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234

string property = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
FetchConnectedGa4PropertyResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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