public static final class CreateDataAccessScopeRequest.Builder extends GeneratedMessage.Builder<CreateDataAccessScopeRequest.Builder> implements CreateDataAccessScopeRequestOrBuilderRequest message for CreateDataAccessScope.
Protobuf type google.cloud.chronicle.v1.CreateDataAccessScopeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateDataAccessScopeRequest.BuilderImplements
CreateDataAccessScopeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateDataAccessScopeRequest build()| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest |
|
buildPartial()
public CreateDataAccessScopeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest |
|
clear()
public CreateDataAccessScopeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
clearDataAccessScope()
public CreateDataAccessScopeRequest.Builder clearDataAccessScope()Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
clearDataAccessScopeId()
public CreateDataAccessScopeRequest.Builder clearDataAccessScopeId()Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |
clearParent()
public CreateDataAccessScopeRequest.Builder clearParent() Required. The parent resource where this Data Access Scope will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |
getDataAccessScope()
public DataAccessScope getDataAccessScope()Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAccessScope |
The dataAccessScope. |
getDataAccessScopeBuilder()
public DataAccessScope.Builder getDataAccessScopeBuilder()Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAccessScope.Builder |
|
getDataAccessScopeId()
public String getDataAccessScopeId()Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dataAccessScopeId. |
getDataAccessScopeIdBytes()
public ByteString getDataAccessScopeIdBytes()Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataAccessScopeId. |
getDataAccessScopeOrBuilder()
public DataAccessScopeOrBuilder getDataAccessScopeOrBuilder()Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAccessScopeOrBuilder |
|
getDefaultInstanceForType()
public CreateDataAccessScopeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where this Data Access Scope will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource where this Data Access Scope will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasDataAccessScope()
public boolean hasDataAccessScope()Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataAccessScope field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataAccessScope(DataAccessScope value)
public CreateDataAccessScopeRequest.Builder mergeDataAccessScope(DataAccessScope value)Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataAccessScope |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
mergeFrom(CreateDataAccessScopeRequest other)
public CreateDataAccessScopeRequest.Builder mergeFrom(CreateDataAccessScopeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDataAccessScopeRequest |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDataAccessScopeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateDataAccessScopeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
setDataAccessScope(DataAccessScope value)
public CreateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope value)Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataAccessScope |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
setDataAccessScope(DataAccessScope.Builder builderForValue)
public CreateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope.Builder builderForValue)Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataAccessScope.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
|
setDataAccessScopeId(String value)
public CreateDataAccessScopeRequest.Builder setDataAccessScopeId(String value)Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataAccessScopeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |
setDataAccessScopeIdBytes(ByteString value)
public CreateDataAccessScopeRequest.Builder setDataAccessScopeIdBytes(ByteString value)Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataAccessScopeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateDataAccessScopeRequest.Builder setParent(String value) Required. The parent resource where this Data Access Scope will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDataAccessScopeRequest.Builder setParentBytes(ByteString value) Required. The parent resource where this Data Access Scope will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataAccessScopeRequest.Builder |
This builder for chaining. |