Class Office365Settings.Builder (0.37.0)

public static final class Office365Settings.Builder extends GeneratedMessage.Builder<Office365Settings.Builder> implements Office365SettingsOrBuilder

Office 365 settings.

Protobuf type google.cloud.chronicle.v1.Office365Settings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Office365Settings build()
Returns
Type Description
Office365Settings

buildPartial()

public Office365Settings buildPartial()
Returns
Type Description
Office365Settings

clear()

public Office365Settings.Builder clear()
Returns
Type Description
Office365Settings.Builder
Overrides

clearAuthEndpoint()

public Office365Settings.Builder clearAuthEndpoint()

API Auth Endpoint.

string auth_endpoint = 5;

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

clearAuthentication()

public Office365Settings.Builder clearAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
Office365Settings.Builder

clearContentType()

public Office365Settings.Builder clearContentType()

Supported office 365 content type.

.google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3;

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

clearHostname()

public Office365Settings.Builder clearHostname()

API Hostname.

string hostname = 4;

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

clearTenantId()

public Office365Settings.Builder clearTenantId()

Tenant ID.

string tenant_id = 2;

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

getAuthEndpoint()

public String getAuthEndpoint()

API Auth Endpoint.

string auth_endpoint = 5;

Returns
Type Description
String

The authEndpoint.

getAuthEndpointBytes()

public ByteString getAuthEndpointBytes()

API Auth Endpoint.

string auth_endpoint = 5;

Returns
Type Description
ByteString

The bytes for authEndpoint.

getAuthentication()

public MicrosoftOAuthClientCredentials getAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
MicrosoftOAuthClientCredentials

The authentication.

getAuthenticationBuilder()

public MicrosoftOAuthClientCredentials.Builder getAuthenticationBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
MicrosoftOAuthClientCredentials.Builder

getAuthenticationOrBuilder()

public MicrosoftOAuthClientCredentialsOrBuilder getAuthenticationOrBuilder()

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
MicrosoftOAuthClientCredentialsOrBuilder

getContentType()

public Office365Settings.ContentType getContentType()

Supported office 365 content type.

.google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3;

Returns
Type Description
Office365Settings.ContentType

The contentType.

getContentTypeValue()

public int getContentTypeValue()

Supported office 365 content type.

.google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for contentType.

getDefaultInstanceForType()

public Office365Settings getDefaultInstanceForType()
Returns
Type Description
Office365Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHostname()

public String getHostname()

API Hostname.

string hostname = 4;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

API Hostname.

string hostname = 4;

Returns
Type Description
ByteString

The bytes for hostname.

getTenantId()

public String getTenantId()

Tenant ID.

string tenant_id = 2;

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Tenant ID.

string tenant_id = 2;

Returns
Type Description
ByteString

The bytes for tenantId.

hasAuthentication()

public boolean hasAuthentication()

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthentication(MicrosoftOAuthClientCredentials value)

public Office365Settings.Builder mergeAuthentication(MicrosoftOAuthClientCredentials value)

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value MicrosoftOAuthClientCredentials
Returns
Type Description
Office365Settings.Builder

mergeFrom(Office365Settings other)

public Office365Settings.Builder mergeFrom(Office365Settings other)
Parameter
Name Description
other Office365Settings
Returns
Type Description
Office365Settings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Office365Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Office365Settings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Office365Settings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Office365Settings.Builder
Overrides

setAuthEndpoint(String value)

public Office365Settings.Builder setAuthEndpoint(String value)

API Auth Endpoint.

string auth_endpoint = 5;

Parameter
Name Description
value String

The authEndpoint to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setAuthEndpointBytes(ByteString value)

public Office365Settings.Builder setAuthEndpointBytes(ByteString value)

API Auth Endpoint.

string auth_endpoint = 5;

Parameter
Name Description
value ByteString

The bytes for authEndpoint to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setAuthentication(MicrosoftOAuthClientCredentials value)

public Office365Settings.Builder setAuthentication(MicrosoftOAuthClientCredentials value)

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value MicrosoftOAuthClientCredentials
Returns
Type Description
Office365Settings.Builder

setAuthentication(MicrosoftOAuthClientCredentials.Builder builderForValue)

public Office365Settings.Builder setAuthentication(MicrosoftOAuthClientCredentials.Builder builderForValue)

Input only. Authentication.

.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
builderForValue MicrosoftOAuthClientCredentials.Builder
Returns
Type Description
Office365Settings.Builder

setContentType(Office365Settings.ContentType value)

public Office365Settings.Builder setContentType(Office365Settings.ContentType value)

Supported office 365 content type.

.google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3;

Parameter
Name Description
value Office365Settings.ContentType

The contentType to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setContentTypeValue(int value)

public Office365Settings.Builder setContentTypeValue(int value)

Supported office 365 content type.

.google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for contentType to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setHostname(String value)

public Office365Settings.Builder setHostname(String value)

API Hostname.

string hostname = 4;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public Office365Settings.Builder setHostnameBytes(ByteString value)

API Hostname.

string hostname = 4;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setTenantId(String value)

public Office365Settings.Builder setTenantId(String value)

Tenant ID.

string tenant_id = 2;

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

public Office365Settings.Builder setTenantIdBytes(ByteString value)

Tenant ID.

string tenant_id = 2;

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
Office365Settings.Builder

This builder for chaining.