public static final class S3Auth.Builder extends GeneratedMessage.Builder<S3Auth.Builder> implements S3AuthOrBuilderAmazon S3 auth.
Protobuf type google.cloud.chronicle.v1.S3Auth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > S3Auth.BuilderImplements
S3AuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public S3Auth build()| Returns | |
|---|---|
| Type | Description |
S3Auth |
|
buildPartial()
public S3Auth buildPartial()| Returns | |
|---|---|
| Type | Description |
S3Auth |
|
clear()
public S3Auth.Builder clear()| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
|
clearAccessKeyId()
public S3Auth.Builder clearAccessKeyId()Access key ID. Used when using access key auth.
string access_key_id = 1;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
clearClientId()
public S3Auth.Builder clearClientId()Client ID. Used when using OAuth auth.
string client_id = 3;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
clearClientSecret()
public S3Auth.Builder clearClientSecret()Client secret. Used when using OAuth auth.
string client_secret = 4;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
clearRefreshUri()
public S3Auth.Builder clearRefreshUri()Refresh URI. Used when using OAuth auth.
string refresh_uri = 5;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
clearRegion()
public S3Auth.Builder clearRegion()S3 Region.
.google.cloud.chronicle.v1.S3Region region = 6;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
clearSecretAccessKey()
public S3Auth.Builder clearSecretAccessKey()Secret access key. Used when using access key auth.
string secret_access_key = 2;
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
getAccessKeyId()
public String getAccessKeyId()Access key ID. Used when using access key auth.
string access_key_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The accessKeyId. |
getAccessKeyIdBytes()
public ByteString getAccessKeyIdBytes()Access key ID. Used when using access key auth.
string access_key_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accessKeyId. |
getClientId()
public String getClientId()Client ID. Used when using OAuth auth.
string client_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes()Client ID. Used when using OAuth auth.
string client_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public String getClientSecret()Client secret. Used when using OAuth auth.
string client_secret = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public ByteString getClientSecretBytes()Client secret. Used when using OAuth auth.
string client_secret = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getDefaultInstanceForType()
public S3Auth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
S3Auth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRefreshUri()
public String getRefreshUri()Refresh URI. Used when using OAuth auth.
string refresh_uri = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The refreshUri. |
getRefreshUriBytes()
public ByteString getRefreshUriBytes()Refresh URI. Used when using OAuth auth.
string refresh_uri = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for refreshUri. |
getRegion()
public S3Region getRegion()S3 Region.
.google.cloud.chronicle.v1.S3Region region = 6;
| Returns | |
|---|---|
| Type | Description |
S3Region |
The region. |
getRegionValue()
public int getRegionValue()S3 Region.
.google.cloud.chronicle.v1.S3Region region = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for region. |
getSecretAccessKey()
public String getSecretAccessKey()Secret access key. Used when using access key auth.
string secret_access_key = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The secretAccessKey. |
getSecretAccessKeyBytes()
public ByteString getSecretAccessKeyBytes()Secret access key. Used when using access key auth.
string secret_access_key = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secretAccessKey. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(S3Auth other)
public S3Auth.Builder mergeFrom(S3Auth other)| Parameter | |
|---|---|
| Name | Description |
other |
S3Auth |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public S3Auth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public S3Auth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
|
setAccessKeyId(String value)
public S3Auth.Builder setAccessKeyId(String value)Access key ID. Used when using access key auth.
string access_key_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accessKeyId to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setAccessKeyIdBytes(ByteString value)
public S3Auth.Builder setAccessKeyIdBytes(ByteString value)Access key ID. Used when using access key auth.
string access_key_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accessKeyId to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setClientId(String value)
public S3Auth.Builder setClientId(String value)Client ID. Used when using OAuth auth.
string client_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public S3Auth.Builder setClientIdBytes(ByteString value)Client ID. Used when using OAuth auth.
string client_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setClientSecret(String value)
public S3Auth.Builder setClientSecret(String value)Client secret. Used when using OAuth auth.
string client_secret = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setClientSecretBytes(ByteString value)
public S3Auth.Builder setClientSecretBytes(ByteString value)Client secret. Used when using OAuth auth.
string client_secret = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setRefreshUri(String value)
public S3Auth.Builder setRefreshUri(String value)Refresh URI. Used when using OAuth auth.
string refresh_uri = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe refreshUri to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setRefreshUriBytes(ByteString value)
public S3Auth.Builder setRefreshUriBytes(ByteString value)Refresh URI. Used when using OAuth auth.
string refresh_uri = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for refreshUri to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setRegion(S3Region value)
public S3Auth.Builder setRegion(S3Region value)S3 Region.
.google.cloud.chronicle.v1.S3Region region = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
S3RegionThe region to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setRegionValue(int value)
public S3Auth.Builder setRegionValue(int value)S3 Region.
.google.cloud.chronicle.v1.S3Region region = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for region to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setSecretAccessKey(String value)
public S3Auth.Builder setSecretAccessKey(String value)Secret access key. Used when using access key auth.
string secret_access_key = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secretAccessKey to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |
setSecretAccessKeyBytes(ByteString value)
public S3Auth.Builder setSecretAccessKeyBytes(ByteString value)Secret access key. Used when using access key auth.
string secret_access_key = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secretAccessKey to set. |
| Returns | |
|---|---|
| Type | Description |
S3Auth.Builder |
This builder for chaining. |