Class GenerateSecretResponse (0.37.0)

public final class GenerateSecretResponse extends GeneratedMessage implements GenerateSecretResponseOrBuilder

GenerateSecret response message.

Protobuf type google.cloud.chronicle.v1.GenerateSecretResponse

Static Fields

SECRET_FIELD_NUMBER

public static final int SECRET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateSecretResponse getDefaultInstance()
Returns
Type Description
GenerateSecretResponse

getDescriptor()

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

newBuilder()

public static GenerateSecretResponse.Builder newBuilder()
Returns
Type Description
GenerateSecretResponse.Builder

newBuilder(GenerateSecretResponse prototype)

public static GenerateSecretResponse.Builder newBuilder(GenerateSecretResponse prototype)
Parameter
Name Description
prototype GenerateSecretResponse
Returns
Type Description
GenerateSecretResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateSecretResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateSecretResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateSecretResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateSecretResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateSecretResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateSecretResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateSecretResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSecretResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateSecretResponse> parser()
Returns
Type Description
Parser<GenerateSecretResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateSecretResponse getDefaultInstanceForType()
Returns
Type Description
GenerateSecretResponse

getParserForType()

public Parser<GenerateSecretResponse> getParserForType()
Returns
Type Description
Parser<GenerateSecretResponse>
Overrides

getSecret()

public String getSecret()

The generated secret. Store the secret value at a safe place and use it while configuring your https push feed.

string secret = 1;

Returns
Type Description
String

The secret.

getSecretBytes()

public ByteString getSecretBytes()

The generated secret. Store the secret value at a safe place and use it while configuring your https push feed.

string secret = 1;

Returns
Type Description
ByteString

The bytes for secret.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateSecretResponse.Builder newBuilderForType()
Returns
Type Description
GenerateSecretResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GenerateSecretResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateSecretResponse.Builder
Overrides

toBuilder()

public GenerateSecretResponse.Builder toBuilder()
Returns
Type Description
GenerateSecretResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException