public static final class CreateFeedRequest.Builder extends GeneratedMessage.Builder<CreateFeedRequest.Builder> implements CreateFeedRequestOrBuilderRequest message for CreateFeed.
Protobuf type google.cloud.chronicle.v1.CreateFeedRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateFeedRequest.BuilderImplements
CreateFeedRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateFeedRequest build()| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest |
|
buildPartial()
public CreateFeedRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest |
|
clear()
public CreateFeedRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
clearFeed()
public CreateFeedRequest.Builder clearFeed()Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
clearParent()
public CreateFeedRequest.Builder clearParent()Required. The parent resource where this Feed 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 |
CreateFeedRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateFeedRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFeed()
public Feed getFeed()Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Feed |
The feed. |
getFeedBuilder()
public Feed.Builder getFeedBuilder()Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
getFeedOrBuilder()
public FeedOrBuilder getFeedOrBuilder()Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FeedOrBuilder |
|
getParent()
public String getParent()Required. The parent resource where this Feed 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 Feed 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. |
hasFeed()
public boolean hasFeed()Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the feed field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFeed(Feed value)
public CreateFeedRequest.Builder mergeFeed(Feed value)Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Feed |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
mergeFrom(CreateFeedRequest other)
public CreateFeedRequest.Builder mergeFrom(CreateFeedRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateFeedRequest |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateFeedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateFeedRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
setFeed(Feed value)
public CreateFeedRequest.Builder setFeed(Feed value)Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Feed |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
setFeed(Feed.Builder builderForValue)
public CreateFeedRequest.Builder setFeed(Feed.Builder builderForValue)Required. Feed to create.
.google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Feed.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateFeedRequest.Builder |
|
setParent(String value)
public CreateFeedRequest.Builder setParent(String value)Required. The parent resource where this Feed 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 |
CreateFeedRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateFeedRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this Feed 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 |
CreateFeedRequest.Builder |
This builder for chaining. |