public static final class UpdateViewRequest.Builder extends GeneratedMessageV3.Builder<UpdateViewRequest.Builder> implements UpdateViewRequestOrBuilder The parameters to UpdateView.
Protobuf type google.logging.v2.UpdateViewRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateViewRequest.BuilderImplements
UpdateViewRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
build()
public UpdateViewRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest |
|
buildPartial()
public UpdateViewRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest |
|
clear()
public UpdateViewRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public UpdateViewRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
clearName()
public UpdateViewRequest.Builder clearName()Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
clearUpdateMask()
public UpdateViewRequest.Builder clearUpdateMask() Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
clearView()
public UpdateViewRequest.Builder clearView()Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
clone()
public UpdateViewRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
getDefaultInstanceForType()
public UpdateViewRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateMask()
public FieldMask getUpdateMask() Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder() Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getView()
public LogView getView()Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LogView |
The view. |
getViewBuilder()
public LogView.Builder getViewBuilder()Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LogView.Builder |
|
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LogViewOrBuilder |
|
hasUpdateMask()
public boolean hasUpdateMask() Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
hasView()
public boolean hasView()Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the view field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateViewRequest other)
public UpdateViewRequest.Builder mergeFrom(UpdateViewRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateViewRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateViewRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateViewRequest.Builder mergeUpdateMask(FieldMask value) Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
mergeView(LogView value)
public UpdateViewRequest.Builder mergeView(LogView value)Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LogView |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setName(String value)
public UpdateViewRequest.Builder setName(String value)Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpdateViewRequest.Builder setNameBytes(ByteString value)Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateViewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateViewRequest.Builder setUpdateMask(FieldMask value) Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateViewRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setView(LogView value)
public UpdateViewRequest.Builder setView(LogView value)Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LogView |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|
setView(LogView.Builder builderForValue)
public UpdateViewRequest.Builder setView(LogView.Builder builderForValue)Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LogView.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateViewRequest.Builder |
|