public static final class GetDataSharingSettingsRequest.Builder extends GeneratedMessage.Builder<GetDataSharingSettingsRequest.Builder> implements GetDataSharingSettingsRequestOrBuilderRequest message for GetDataSharingSettings RPC.
Protobuf type google.analytics.admin.v1alpha.GetDataSharingSettingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetDataSharingSettingsRequest.BuilderImplements
GetDataSharingSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetDataSharingSettingsRequest build()| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest |
|
buildPartial()
public GetDataSharingSettingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest |
|
clear()
public GetDataSharingSettingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
|
clearName()
public GetDataSharingSettingsRequest.Builder clearName()Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example: accounts/1000/dataSharingSettings
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetDataSharingSettingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example: accounts/1000/dataSharingSettings
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example: accounts/1000/dataSharingSettings
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetDataSharingSettingsRequest other)
public GetDataSharingSettingsRequest.Builder mergeFrom(GetDataSharingSettingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetDataSharingSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetDataSharingSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetDataSharingSettingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
|
setName(String value)
public GetDataSharingSettingsRequest.Builder setName(String value)Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example: accounts/1000/dataSharingSettings
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetDataSharingSettingsRequest.Builder setNameBytes(ByteString value)Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings
Example: accounts/1000/dataSharingSettings
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetDataSharingSettingsRequest.Builder |
This builder for chaining. |