public static final class WidgetConfig.ConnectorAuthState.Builder extends GeneratedMessage.Builder<WidgetConfig.ConnectorAuthState.Builder> implements WidgetConfig.ConnectorAuthStateOrBuilderRead-only connector in CollectionComponent auth state.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WidgetConfig.ConnectorAuthState.BuilderImplements
WidgetConfig.ConnectorAuthStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WidgetConfig.ConnectorAuthState build()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState |
|
buildPartial()
public WidgetConfig.ConnectorAuthState buildPartial()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState |
|
clear()
public WidgetConfig.ConnectorAuthState.Builder clear()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
clearAuthState()
public WidgetConfig.ConnectorAuthState.Builder clearAuthState()Output only. The authorization state of the data connector.
.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
clearAuthorizationUri()
public WidgetConfig.ConnectorAuthState.Builder clearAuthorizationUri()Output only. The authorization uri for the data connector.
For synthetic placeholder CollectionComponent entries (returned by
LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS /
Business engines), this field is left empty. The widget should call
WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect"
click to obtain a freshly-built authorization URL.
string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
clearUpdateTime()
public WidgetConfig.ConnectorAuthState.Builder clearUpdateTime()Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
getAuthState()
public WidgetConfig.ConnectorAuthState.AuthState getAuthState()Output only. The authorization state of the data connector.
.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.AuthState |
The authState. |
getAuthStateValue()
public int getAuthStateValue()Output only. The authorization state of the data connector.
.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for authState. |
getAuthorizationUri()
public String getAuthorizationUri()Output only. The authorization uri for the data connector.
For synthetic placeholder CollectionComponent entries (returned by
LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS /
Business engines), this field is left empty. The widget should call
WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect"
click to obtain a freshly-built authorization URL.
string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The authorizationUri. |
getAuthorizationUriBytes()
public ByteString getAuthorizationUriBytes()Output only. The authorization uri for the data connector.
For synthetic placeholder CollectionComponent entries (returned by
LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS /
Business engines), this field is left empty. The widget should call
WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect"
click to obtain a freshly-built authorization URL.
string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for authorizationUri. |
getDefaultInstanceForType()
public WidgetConfig.ConnectorAuthState getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasUpdateTime()
public boolean hasUpdateTime()Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WidgetConfig.ConnectorAuthState other)
public WidgetConfig.ConnectorAuthState.Builder mergeFrom(WidgetConfig.ConnectorAuthState other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetConfig.ConnectorAuthState |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetConfig.ConnectorAuthState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WidgetConfig.ConnectorAuthState.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
mergeUpdateTime(Timestamp value)
public WidgetConfig.ConnectorAuthState.Builder mergeUpdateTime(Timestamp value)Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
setAuthState(WidgetConfig.ConnectorAuthState.AuthState value)
public WidgetConfig.ConnectorAuthState.Builder setAuthState(WidgetConfig.ConnectorAuthState.AuthState value)Output only. The authorization state of the data connector.
.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.ConnectorAuthState.AuthStateThe authState to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
setAuthStateValue(int value)
public WidgetConfig.ConnectorAuthState.Builder setAuthStateValue(int value)Output only. The authorization state of the data connector.
.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState.AuthState auth_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for authState to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
setAuthorizationUri(String value)
public WidgetConfig.ConnectorAuthState.Builder setAuthorizationUri(String value)Output only. The authorization uri for the data connector.
For synthetic placeholder CollectionComponent entries (returned by
LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS /
Business engines), this field is left empty. The widget should call
WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect"
click to obtain a freshly-built authorization URL.
string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe authorizationUri to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
setAuthorizationUriBytes(ByteString value)
public WidgetConfig.ConnectorAuthState.Builder setAuthorizationUriBytes(ByteString value)Output only. The authorization uri for the data connector.
For synthetic placeholder CollectionComponent entries (returned by
LookupWidgetConfig with view = WITH_AVAILABLE_CONNECTORS on SaaS /
Business engines), this field is left empty. The widget should call
WidgetService.WidgetBuildAuthorizationUrl on the user's "Connect"
click to obtain a freshly-built authorization URL.
string authorization_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for authorizationUri to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public WidgetConfig.ConnectorAuthState.Builder setUpdateTime(Timestamp value)Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public WidgetConfig.ConnectorAuthState.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The authorization state update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.ConnectorAuthState.Builder |
|