public static final class CreateReferenceListRequest.Builder extends GeneratedMessage.Builder<CreateReferenceListRequest.Builder> implements CreateReferenceListRequestOrBuilderA request to create a reference list.
Protobuf type google.cloud.chronicle.v1.CreateReferenceListRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateReferenceListRequest.BuilderImplements
CreateReferenceListRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateReferenceListRequest build()| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest |
|
buildPartial()
public CreateReferenceListRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest |
|
clear()
public CreateReferenceListRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
clearParent()
public CreateReferenceListRequest.Builder clearParent() Required. The parent resource where this reference list 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 |
CreateReferenceListRequest.Builder |
This builder for chaining. |
clearReferenceList()
public CreateReferenceListRequest.Builder clearReferenceList()Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
clearReferenceListId()
public CreateReferenceListRequest.Builder clearReferenceListId()Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.
string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateReferenceListRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where this reference list 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 reference list 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. |
getReferenceList()
public ReferenceList getReferenceList()Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReferenceList |
The referenceList. |
getReferenceListBuilder()
public ReferenceList.Builder getReferenceListBuilder()Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReferenceList.Builder |
|
getReferenceListId()
public String getReferenceListId()Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.
string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The referenceListId. |
getReferenceListIdBytes()
public ByteString getReferenceListIdBytes()Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.
string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for referenceListId. |
getReferenceListOrBuilder()
public ReferenceListOrBuilder getReferenceListOrBuilder()Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReferenceListOrBuilder |
|
hasReferenceList()
public boolean hasReferenceList()Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the referenceList field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateReferenceListRequest other)
public CreateReferenceListRequest.Builder mergeFrom(CreateReferenceListRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateReferenceListRequest |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateReferenceListRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateReferenceListRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
mergeReferenceList(ReferenceList value)
public CreateReferenceListRequest.Builder mergeReferenceList(ReferenceList value)Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReferenceList |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
setParent(String value)
public CreateReferenceListRequest.Builder setParent(String value) Required. The parent resource where this reference list 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 |
CreateReferenceListRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateReferenceListRequest.Builder setParentBytes(ByteString value) Required. The parent resource where this reference list 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 |
CreateReferenceListRequest.Builder |
This builder for chaining. |
setReferenceList(ReferenceList value)
public CreateReferenceListRequest.Builder setReferenceList(ReferenceList value)Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReferenceList |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
setReferenceList(ReferenceList.Builder builderForValue)
public CreateReferenceListRequest.Builder setReferenceList(ReferenceList.Builder builderForValue)Required. The reference list to create.
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReferenceList.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
|
setReferenceListId(String value)
public CreateReferenceListRequest.Builder setReferenceListId(String value)Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.
string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe referenceListId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
This builder for chaining. |
setReferenceListIdBytes(ByteString value)
public CreateReferenceListRequest.Builder setReferenceListIdBytes(ByteString value)Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:
- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.
string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for referenceListId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReferenceListRequest.Builder |
This builder for chaining. |