io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dash/v1beta1/DashService_Beta1.proto
package io.bloombox.schema.services.dash.v1beta1;
/**
*
* Specifies an RPC operation to update partner-level settings from the dashboard.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.UpdatePartnerSettings}
*/
public final class UpdatePartnerSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.UpdatePartnerSettings)
UpdatePartnerSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdatePartnerSettings.newBuilder() to construct.
private UpdatePartnerSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdatePartnerSettings() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdatePartnerSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.class, io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request)
com.google.protobuf.MessageOrBuilder {
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
java.lang.String getPartner();
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
com.google.protobuf.ByteString
getPartnerBytes();
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
boolean hasSettings();
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings();
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder();
}
/**
*
* Request to update partner-level settings.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
partner_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
partner_ = s;
break;
}
case 18: {
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.class, io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.Builder.class);
}
public static final int PARTNER_FIELD_NUMBER = 1;
private volatile java.lang.Object partner_;
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public java.lang.String getPartner() {
java.lang.Object ref = partner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partner_ = s;
return s;
}
}
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public com.google.protobuf.ByteString
getPartnerBytes() {
java.lang.Object ref = partner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SETTINGS_FIELD_NUMBER = 2;
private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings settings_;
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public boolean hasSettings() {
return settings_ != null;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings() {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getPartnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partner_);
}
if (settings_ != null) {
output.writeMessage(2, getSettings());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPartnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partner_);
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSettings());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request other = (io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request) obj;
if (!getPartner()
.equals(other.getPartner())) return false;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARTNER_FIELD_NUMBER;
hash = (53 * hash) + getPartner().hashCode();
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Request to update partner-level settings.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request)
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.class, io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
partner_ = "";
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request build() {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request buildPartial() {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request result = new io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request(this);
result.partner_ = partner_;
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request) {
return mergeFrom((io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request other) {
if (other == io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request.getDefaultInstance()) return this;
if (!other.getPartner().isEmpty()) {
partner_ = other.partner_;
onChanged();
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object partner_ = "";
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public java.lang.String getPartner() {
java.lang.Object ref = partner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public com.google.protobuf.ByteString
getPartnerBytes() {
java.lang.Object ref = partner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public Builder setPartner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
partner_ = value;
onChanged();
return this;
}
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public Builder clearPartner() {
partner_ = getDefaultInstance().getPartner();
onChanged();
return this;
}
/**
*
* Partner ID.
*
*
* string partner = 1;
*/
public Builder setPartnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
partner_ = value;
onChanged();
return this;
}
private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder> settingsBuilder_;
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public Builder setSettings(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public Builder setSettings(
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public Builder mergeSettings(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_;
}
}
/**
*
* Settings to apply for the partner.
*
*
* .bloombox.partner.settings.PartnerSettings settings = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.UpdatePartnerSettings.Request)
private static final io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request();
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings)) {
return super.equals(obj);
}
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings other = (io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies an RPC operation to update partner-level settings from the dashboard.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.UpdatePartnerSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.UpdatePartnerSettings)
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.class, io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.Builder.class);
}
// Construct using io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_UpdatePartnerSettings_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings getDefaultInstanceForType() {
return io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings build() {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings buildPartial() {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings result = new io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings) {
return mergeFrom((io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings other) {
if (other == io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.dash.v1beta1.UpdatePartnerSettings)
}
// @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.UpdatePartnerSettings)
private static final io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings();
}
public static io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdatePartnerSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdatePartnerSettings(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.UpdatePartnerSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy