public static final class WorkspaceActivitySettings.Builder extends GeneratedMessage.Builder<WorkspaceActivitySettings.Builder> implements WorkspaceActivitySettingsOrBuilderWorkspace Activity settings.
Protobuf type google.cloud.chronicle.v1.WorkspaceActivitySettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WorkspaceActivitySettings.BuilderImplements
WorkspaceActivitySettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllApplications(Iterable<String> values)
public WorkspaceActivitySettings.Builder addAllApplications(Iterable<String> values)Applications.
repeated string applications = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The applications to add. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
addApplications(String value)
public WorkspaceActivitySettings.Builder addApplications(String value)Applications.
repeated string applications = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe applications to add. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
addApplicationsBytes(ByteString value)
public WorkspaceActivitySettings.Builder addApplicationsBytes(ByteString value)Applications.
repeated string applications = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the applications to add. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
build()
public WorkspaceActivitySettings build()| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings |
|
buildPartial()
public WorkspaceActivitySettings buildPartial()| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings |
|
clear()
public WorkspaceActivitySettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
clearApplications()
public WorkspaceActivitySettings.Builder clearApplications()Applications.
repeated string applications = 3;
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
clearAuthentication()
public WorkspaceActivitySettings.Builder clearAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
clearWorkspaceCustomerId()
public WorkspaceActivitySettings.Builder clearWorkspaceCustomerId()Customer ID.
string workspace_customer_id = 2;
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
getApplications(int index)
public String getApplications(int index)Applications.
repeated string applications = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The applications at the given index. |
getApplicationsBytes(int index)
public ByteString getApplicationsBytes(int index)Applications.
repeated string applications = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the applications at the given index. |
getApplicationsCount()
public int getApplicationsCount()Applications.
repeated string applications = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of applications. |
getApplicationsList()
public ProtocolStringList getApplicationsList()Applications.
repeated string applications = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the applications. |
getAuthentication()
public OAuthJWTCredentials getAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OAuthJWTCredentials |
The authentication. |
getAuthenticationBuilder()
public OAuthJWTCredentials.Builder getAuthenticationBuilder()Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OAuthJWTCredentials.Builder |
|
getAuthenticationOrBuilder()
public OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder()Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OAuthJWTCredentialsOrBuilder |
|
getDefaultInstanceForType()
public WorkspaceActivitySettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getWorkspaceCustomerId()
public String getWorkspaceCustomerId()Customer ID.
string workspace_customer_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The workspaceCustomerId. |
getWorkspaceCustomerIdBytes()
public ByteString getWorkspaceCustomerIdBytes()Customer ID.
string workspace_customer_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workspaceCustomerId. |
hasAuthentication()
public boolean hasAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the authentication field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuthentication(OAuthJWTCredentials value)
public WorkspaceActivitySettings.Builder mergeAuthentication(OAuthJWTCredentials value)Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
OAuthJWTCredentials |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
mergeFrom(WorkspaceActivitySettings other)
public WorkspaceActivitySettings.Builder mergeFrom(WorkspaceActivitySettings other)| Parameter | |
|---|---|
| Name | Description |
other |
WorkspaceActivitySettings |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkspaceActivitySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WorkspaceActivitySettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
setApplications(int index, String value)
public WorkspaceActivitySettings.Builder setApplications(int index, String value)Applications.
repeated string applications = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe applications to set. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
setAuthentication(OAuthJWTCredentials value)
public WorkspaceActivitySettings.Builder setAuthentication(OAuthJWTCredentials value)Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
OAuthJWTCredentials |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
setAuthentication(OAuthJWTCredentials.Builder builderForValue)
public WorkspaceActivitySettings.Builder setAuthentication(OAuthJWTCredentials.Builder builderForValue)Input only. Authentication.
.google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OAuthJWTCredentials.Builder |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
|
setWorkspaceCustomerId(String value)
public WorkspaceActivitySettings.Builder setWorkspaceCustomerId(String value)Customer ID.
string workspace_customer_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe workspaceCustomerId to set. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |
setWorkspaceCustomerIdBytes(ByteString value)
public WorkspaceActivitySettings.Builder setWorkspaceCustomerIdBytes(ByteString value)Customer ID.
string workspace_customer_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for workspaceCustomerId to set. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceActivitySettings.Builder |
This builder for chaining. |