public static final class ViewObjectFullContextRequest.Builder extends GeneratedMessage.Builder<ViewObjectFullContextRequest.Builder> implements ViewObjectFullContextRequestOrBuilderRequest message for ViewObjectFullContext.
Protobuf type google.storage.control.v2.ViewObjectFullContextRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ViewObjectFullContextRequest.BuilderImplements
ViewObjectFullContextRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ViewObjectFullContextRequest build()| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest |
|
buildPartial()
public ViewObjectFullContextRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest |
|
clear()
public ViewObjectFullContextRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
|
clearContextKey()
public ViewObjectFullContextRequest.Builder clearContextKey()Required. The key of the object context to retrieve.
string context_key = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
clearGeneration()
public ViewObjectFullContextRequest.Builder clearGeneration()Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
clearName()
public ViewObjectFullContextRequest.Builder clearName() Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
getContextKey()
public String getContextKey()Required. The key of the object context to retrieve.
string context_key = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The contextKey. |
getContextKeyBytes()
public ByteString getContextKeyBytes()Required. The key of the object context to retrieve.
string context_key = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contextKey. |
getDefaultInstanceForType()
public ViewObjectFullContextRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneration()
public long getGeneration()Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The generation. |
getName()
public String getName() Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ViewObjectFullContextRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ViewObjectFullContextRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
|
mergeFrom(ViewObjectFullContextRequest other)
public ViewObjectFullContextRequest.Builder mergeFrom(ViewObjectFullContextRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ViewObjectFullContextRequest |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
|
setContextKey(String value)
public ViewObjectFullContextRequest.Builder setContextKey(String value)Required. The key of the object context to retrieve.
string context_key = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contextKey to set. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
setContextKeyBytes(ByteString value)
public ViewObjectFullContextRequest.Builder setContextKeyBytes(ByteString value)Required. The key of the object context to retrieve.
string context_key = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contextKey to set. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
setGeneration(long value)
public ViewObjectFullContextRequest.Builder setGeneration(long value)Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generation to set. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
setName(String value)
public ViewObjectFullContextRequest.Builder setName(String value) Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ViewObjectFullContextRequest.Builder setNameBytes(ByteString value) Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest.Builder |
This builder for chaining. |