public static final class CreateDataAccessScopeRequest.Builder extends GeneratedMessageV3.Builder<CreateDataAccessScopeRequest.Builder> implements CreateDataAccessScopeRequestOrBuilder
Request message for CreateDataAccessScope.
Protobuf type google.cloud.chronicle.v1.CreateDataAccessScopeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDataAccessScopeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDataAccessScopeRequest build()
buildPartial()
public CreateDataAccessScopeRequest buildPartial()
clear()
public CreateDataAccessScopeRequest.Builder clear()
Overrides
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];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateDataAccessScopeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataAccessScopeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateDataAccessScopeRequest.Builder clone()
Overrides
getDataAccessScope()
public DataAccessScope getDataAccessScope()
Required. Data access scope to create.
.google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
getDefaultInstanceForType()
public CreateDataAccessScopeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(CreateDataAccessScopeRequest other)
public CreateDataAccessScopeRequest.Builder mergeFrom(CreateDataAccessScopeRequest other)
public CreateDataAccessScopeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDataAccessScopeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataAccessScopeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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 |
String
The dataAccessScopeId to set.
|
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 |
ByteString
The bytes for dataAccessScopeId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataAccessScopeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataAccessScopeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataAccessScopeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides