Class GetUserLinkRequest.Builder (0.17.0)

public static final class GetUserLinkRequest.Builder extends GeneratedMessageV3.Builder<GetUserLinkRequest.Builder> implements GetUserLinkRequestOrBuilder

Request message for GetUserLink RPC.

Protobuf type google.analytics.admin.v1alpha.GetUserLinkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetUserLinkRequest build()
Returns
TypeDescription
GetUserLinkRequest

buildPartial()

public GetUserLinkRequest buildPartial()
Returns
TypeDescription
GetUserLinkRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetUserLinkRequest.Builder clearName()

Required. Example format: accounts/1234/userLinks/5678

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

Returns
TypeDescription
GetUserLinkRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetUserLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
GetUserLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Example format: accounts/1234/userLinks/5678

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Example format: accounts/1234/userLinks/5678

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetUserLinkRequest other)

public GetUserLinkRequest.Builder mergeFrom(GetUserLinkRequest other)
Parameter
NameDescription
otherGetUserLinkRequest
Returns
TypeDescription
GetUserLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetUserLinkRequest.Builder setName(String value)

Required. Example format: accounts/1234/userLinks/5678

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetUserLinkRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetUserLinkRequest.Builder setNameBytes(ByteString value)

Required. Example format: accounts/1234/userLinks/5678

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetUserLinkRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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