Class CreateAccessBindingRequest.Builder (0.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAccessBindingRequest build()
Returns
TypeDescription
CreateAccessBindingRequest

buildPartial()

public CreateAccessBindingRequest buildPartial()
Returns
TypeDescription
CreateAccessBindingRequest

clear()

public CreateAccessBindingRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateAccessBindingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAccessBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateAccessBindingRequest.Builder

This builder for chaining.

clone()

public CreateAccessBindingRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccessBindingOrBuilder

getDefaultInstanceForType()

public CreateAccessBindingRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAccessBindingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the accessBinding field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessBinding
Returns
TypeDescription
CreateAccessBindingRequest.Builder

mergeFrom(CreateAccessBindingRequest other)

public CreateAccessBindingRequest.Builder mergeFrom(CreateAccessBindingRequest other)
Parameter
NameDescription
otherCreateAccessBindingRequest
Returns
TypeDescription
CreateAccessBindingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAccessBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAccessBinding
Returns
TypeDescription
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
NameDescription
builderForValueAccessBinding.Builder
Returns
TypeDescription
CreateAccessBindingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAccessBindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAccessBindingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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