Class CreateAccessBindingRequest.Builder (0.57.0)

public static final class CreateAccessBindingRequest.Builder extends GeneratedMessageV3.Builder<CreateAccessBindingRequest.Builder> implements CreateAccessBindingRequestOrBuilder

Request message for CreateAccessBinding RPC.

Protobuf type google.analytics.admin.v1alpha.CreateAccessBindingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAccessBindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

build()

public CreateAccessBindingRequest build()
Returns
Type Description
CreateAccessBindingRequest

buildPartial()

public CreateAccessBindingRequest buildPartial()
Returns
Type Description
CreateAccessBindingRequest

clear()

public CreateAccessBindingRequest.Builder clear()
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

clearAccessBinding()

public CreateAccessBindingRequest.Builder clearAccessBinding()

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAccessBindingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateAccessBindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAccessBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

clearParent()

public CreateAccessBindingRequest.Builder clearParent()

Required. Formats:

  • accounts/{account}
  • properties/{property}

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

Returns
Type Description
CreateAccessBindingRequest.Builder

This builder for chaining.

clone()

public CreateAccessBindingRequest.Builder clone()
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

getAccessBinding()

public AccessBinding getAccessBinding()

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessBinding

The accessBinding.

getAccessBindingBuilder()

public AccessBinding.Builder getAccessBindingBuilder()

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessBinding.Builder

getAccessBindingOrBuilder()

public AccessBindingOrBuilder getAccessBindingOrBuilder()

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessBindingOrBuilder

getDefaultInstanceForType()

public CreateAccessBindingRequest getDefaultInstanceForType()
Returns
Type Description
CreateAccessBindingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. Formats:

  • accounts/{account}
  • properties/{property}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Formats:

  • accounts/{account}
  • properties/{property}

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

Returns
Type Description
ByteString

The bytes for parent.

hasAccessBinding()

public boolean hasAccessBinding()

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessBinding field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessBinding(AccessBinding value)

public CreateAccessBindingRequest.Builder mergeAccessBinding(AccessBinding value)

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccessBinding
Returns
Type Description
CreateAccessBindingRequest.Builder

mergeFrom(CreateAccessBindingRequest other)

public CreateAccessBindingRequest.Builder mergeFrom(CreateAccessBindingRequest other)
Parameter
Name Description
other CreateAccessBindingRequest
Returns
Type Description
CreateAccessBindingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAccessBindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateAccessBindingRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAccessBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

setAccessBinding(AccessBinding value)

public CreateAccessBindingRequest.Builder setAccessBinding(AccessBinding value)

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccessBinding
Returns
Type Description
CreateAccessBindingRequest.Builder

setAccessBinding(AccessBinding.Builder builderForValue)

public CreateAccessBindingRequest.Builder setAccessBinding(AccessBinding.Builder builderForValue)

Required. The access binding to create.

.google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AccessBinding.Builder
Returns
Type Description
CreateAccessBindingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAccessBindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

setParent(String value)

public CreateAccessBindingRequest.Builder setParent(String value)

Required. Formats:

  • accounts/{account}
  • properties/{property}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAccessBindingRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAccessBindingRequest.Builder setParentBytes(ByteString value)

Required. Formats:

  • accounts/{account}
  • properties/{property}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAccessBindingRequest.Builder

This builder for chaining.

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

public CreateAccessBindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAccessBindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAccessBindingRequest.Builder
Overrides