public static final class ImportPushLogsRequest.Builder extends GeneratedMessage.Builder<ImportPushLogsRequest.Builder> implements ImportPushLogsRequestOrBuilderImportPushLogsRequest request message.
Protobuf type google.cloud.chronicle.v1.ImportPushLogsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportPushLogsRequest.BuilderImplements
ImportPushLogsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportPushLogsRequest build()| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest |
|
buildPartial()
public ImportPushLogsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest |
|
clear()
public ImportPushLogsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
clearHttpBody()
public ImportPushLogsRequest.Builder clearHttpBody()Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
clearParent()
public ImportPushLogsRequest.Builder clearParent()Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
This builder for chaining. |
clearSecret()
public ImportPushLogsRequest.Builder clearSecret()Immutable. The secret for the feed.
string secret = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportPushLogsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHttpBody()
public HttpBody getHttpBody()Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.api.HttpBody |
The httpBody. |
getHttpBodyBuilder()
public HttpBody.Builder getHttpBodyBuilder()Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.api.HttpBody.Builder |
|
getHttpBodyOrBuilder()
public HttpBodyOrBuilder getHttpBodyOrBuilder()Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.api.HttpBodyOrBuilder |
|
getParent()
public String getParent()Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
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, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSecret()
public String getSecret()Immutable. The secret for the feed.
string secret = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The secret. |
getSecretBytes()
public ByteString getSecretBytes()Immutable. The secret for the feed.
string secret = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secret. |
hasHttpBody()
public boolean hasHttpBody()Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the httpBody field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportPushLogsRequest other)
public ImportPushLogsRequest.Builder mergeFrom(ImportPushLogsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportPushLogsRequest |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportPushLogsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportPushLogsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
mergeHttpBody(HttpBody value)
public ImportPushLogsRequest.Builder mergeHttpBody(HttpBody value)Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.api.HttpBody |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
setHttpBody(HttpBody value)
public ImportPushLogsRequest.Builder setHttpBody(HttpBody value)Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.api.HttpBody |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
setHttpBody(HttpBody.Builder builderForValue)
public ImportPushLogsRequest.Builder setHttpBody(HttpBody.Builder builderForValue)Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.api.HttpBody.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
|
setParent(String value)
public ImportPushLogsRequest.Builder setParent(String value)Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportPushLogsRequest.Builder setParentBytes(ByteString value)Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
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 |
ImportPushLogsRequest.Builder |
This builder for chaining. |
setSecret(String value)
public ImportPushLogsRequest.Builder setSecret(String value)Immutable. The secret for the feed.
string secret = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secret to set. |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
This builder for chaining. |
setSecretBytes(ByteString value)
public ImportPushLogsRequest.Builder setSecretBytes(ByteString value)Immutable. The secret for the feed.
string secret = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secret to set. |
| Returns | |
|---|---|
| Type | Description |
ImportPushLogsRequest.Builder |
This builder for chaining. |